Adam I know. I was saying its a waste of time to make a script to check if all players have a permission when Bukkit already has one built in.
What I did was made an Array List, stating if a player wants the person who joined hidden and it would hide them from that player. If you still...
^ Agreed. Using a method where it checks all players in an array list is just wasting time.
I thought since they would be the same score name it wouldn't work. But it actually worked and shows if a player is alive or dead.
I was thinking about doing this, for (Player p : plugin.players){ Score scoreDeaths = objective.getScore(p.getName());...
^^^ How would I get score of all players then send every player that score? @Konato_K Edit: I want it like this, Minigame Alive: User1 User2...
How would I use this? I've tried, Score scoreDeaths = objective.getScore(listOfPlayers); But that didn't work? I mean how would I do this Alive:...
I need to display an arraylist of alive and dead players.
I'm making a minigame and I decided to have socoreboards to show who's alive. I came across a problem. Displaying an array list in a scoreboard?
I know that. I mean how would I get a random Location on the Array List?
Can someone help me figure out how to get all locations in an array list randomizing them sending one player to each one?
Well I can't answer your question but for starters try setting Players spawner as a variable other then null.
What do you have your p variable set as?
@nverdier I'm editing it right now.
Maybe try doing this, plugin.getConfig().set(cName + ".Leader", p.getUniqueId()); And then this, plugin.saveConfig();
If you want code to continue it, its right here. Main: package me.probukkit.sbk; import java.io.File; import org.bukkit.Bukkit; import...
I forgot to because I had state tests all this week so I can't do it sorry.
Hey I'm making a new server and developing the plugins. One of them is a leveling plugin and I was wondering how would I get that across multiple...
@vZyptic | 編碼器 I'll start fixing it later today! and let you set the name with color.
I was trying to send them custom messages.
Separate names with a comma.