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".
the errors are the same as these
NoLiver92 If I use your onEnable(), eclipse tells me there are many errors. If I put public or private before line 36 & 37, I get the same error...
NoLiver92 here's the error: [spoiler]
NoLiver92 When I move lines 36 and 37 in onEnable() under saveConfig, Eclipse tells me there are errors. When I move them back and delete line 29,...
Here is my code: [spoiler]
NoLiver92 Yes, I have that in onEnable(). As I said, I copied the code for the config from one of my other plugins, which does everything correctly.
Without this code the plugin loads correctly. I copied the code that loads the config from one of my other plugins. My config.yml is in the jar...
Separate names with a comma.