[Mod] builder [builder]

Downad
Member
 
Posts: 11
Joined: Tue Oct 03, 2017 08:54
Location: Germany
GitHub: downad
In-game: downad

[Mod] builder [builder]

by Downad » Mon Feb 05, 2018 16:36

Some times the creative privileg is much more than a player should have.
Maybe only some player in your wolrd want to build some nice structure, and other play PvP or survive.
And you did not want that they can get e.g. 'mese' or a 'crystal sword'.
In this case you can give this player builder privileg and save the file minetest.get_worldpath().."/players/all_items_in_game.txt" with the allowed blocks/items.

The builder_admin can create a list of all items in game ("all_items_in_game.txt"). Modify this list for your players. For that only delete the lines with blocks/tools or item you don't want that builder-player can get.
Save the file in worldpath with the filename: "allowed_items_for_builder.txt"

The mod register an armor-set and tools - thy dont protect fleshy damage or do fleshy-damage.
(maybe someone can help me finding the right balance for the builder-armor)

Depends:
+ default
+ unified_inventory
+ 3d_armor?

Commands:
/builder make_list
* the buiilder_admin can create a list of all items in game
* the list is saved in the minetest.get_worldpath().."/players/" path with the filename "all_items_in_game.txt"

Privileges:
+ builder
+ builder_admin

Download:
View on github: https://github.com/downad/builder

Textures
* the armor from 3d armor
* the tools from default tools

License:
GNU GENERAL PUBLIC LICENSE
 

User avatar
GamingAssociation39
Member
 
Posts: 739
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
 

Downad
Member
 
Posts: 11
Joined: Tue Oct 03, 2017 08:54
Location: Germany
GitHub: downad
In-game: downad

Re: [Mod] builder [builder]

by Downad » Mon Feb 05, 2018 20:51

there is nothing special to see on an screenshot.
if you want to get an item that is not allowed you get a chatmessage: YOURNAME, this item is not allowed to get.
Attachments
builder_mod_01.png
(247.19 KiB) Not downloaded yet
 

User avatar
GamingAssociation39
Member
 
Posts: 739
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
 


Return to WIP Mods



Who is online

Users browsing this forum: Google [Bot] and 1 guest