Thanks to everyone, it looks like I'm going to have to find a different way.
@CostelabrMn That's not what I'm trying to say. I'm trying to make the plugin allow any player to run the command if a permissions plugin is not...
I'm making a plugin and I want this: everyone has permission to use a specific command if no permissions plugin is installed, but if it is, then...
I'm pretty sure you can do it with packets
xTrollxDudex player.addAttachment() will not persist through server reloads/restarts.
xTrollxDudex He wants to add permissions, not to check them.
Jellydude Give them permissions when they type the command and take them in PlayerDeathEvent. 1. Download Vault here:...
2. You can use Vault to give them permissions
Your main class needs to extend JavaPlugin.:)
PlayerInteractEvent
NoLiver92 public void onEnable(){ PluginManager pm = getServer().getPluginManager(); pm.registerEvents(this, this); saveDefaultConfig();...
NoLiver92 In onEnable it says 'Public is not permitted'. The other underlined things say 'uuids/strs can't be resolved'
Ok, the errors are: [spoiler] I get red lines where I use "uuids".
Separate names with a comma.