mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 03:53:41 +00:00
[trunk] /item /give, new permissions
- essentials.itemspawn.item-all - essentials.itemspawn.item-[itemname] - essentials.itemspawn.item-[itemid] - essentials.give.item-all - essentials.give.item-[itemname] - essentials.give.item-[itemid] these have to be activated with permission-based-item-spawn: true in config.yml git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1309 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
037473d13b
commit
7efdb11d53
4 changed files with 45 additions and 15 deletions
|
@ -478,4 +478,9 @@ public class Settings implements IConf
|
|||
{
|
||||
return config.getBoolean("warn-on-smite" ,true);
|
||||
}
|
||||
|
||||
public boolean permissionBasedItemSpawn()
|
||||
{
|
||||
return config.getBoolean("permission-based-item-spawn", false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue