Mtihc / TreasureChest

The TreasureChest plugin for CraftBukkit
dev.bukkit.org/server-mods/treasurechest
10 stars 39 forks source link

How To Add Permissions #73

Closed swills1 closed 10 years ago

swills1 commented 10 years ago

This has to be the worst way to ask for help, but the documentation is lacking.

I need to give my players treasurechest.access.unlimited access so they can open unlimited chests, but I've got no idea how.

swills1 commented 10 years ago

I extracted everything to have a look. In the plugin.yml on lines 74 - 79 is this

treasurechest.access.treasure:
    description: Allows opening treasure chests
    default: false
treasurechest.access.unlimited:
    description: Allows opening unlimited chests
    default: false

I think that these should be true by default. I mean these are what allow players to be able to actually open the chests. Is there a reason these are false by default?

I've got my plugin.yml with these two nodes set to true and everything is working fine on my 1.7.2 Bukkit server. I really hate to modify it directly, but it was the simplest way. Do you think you might consider setting these to true by default in a future release? Or even just having the plugin.yml extract with the config.yml?

Thanks for this great plugin btw.

swills1 commented 10 years ago

I'm closing this and continuing it on a pull request I submitted. (issue #76)