So i made a ffly plugin with UUID in mind , then we changed faction plugins and i just cant get this one thing to work . It wont detect when a...
String name = player.getName(); and then if (ffly.contains(name)) {}? Thank you so much , i have it working . Using arrays i have made it so it...
No i mean as in like any links to where i can learn how to add a player to a list then remove . I have no idea how to do that. ArrayList<String>...
Can you give me an example , in code ? i don't know where to start.
I'm new to making plugins and java really its self , i am learning bit by bit and making plugins at the same time , could you tell me how adding a...
Thank you , it works now , but when i leave a chunk it spams "/fly disabled for Xman249" , any way to fix that or?
I am so dumb!! so like "public onEnable() { Bukkit.getServer().getPluginManager().registerEvents(this, this); }"? EDIT by Moderator: merged...
@EventHandler public void onTerritoryChange(PlayerMoveEvent e) { Player player = e.getPlayer(); FPlayer fp =...
Ok ive done what you said , if (fp.isInOtherTerritory) { //code } but it still dosnt work.
So should i make different "if" statements for each faction land check or something?
Didn't change anything really . I put the plugin back into the folder , restarted the server and it still didn't "/fly disable" when i left...
Mutil.isSameChunk checks if the chunk is the same or has changed .
So basically , i am trying to create a FactionsFly plugin for my server , it works fine when you arnt in your factions chunk , but if you go into...
Separate names with a comma.