Staff
Staff
Description
Simple plugin to notify players on the server who is in charge and who the main staff are.
It is easily configurable, the config.yml can be edited to show who the owner(s) is,
and to show up to any other 10 ranks and the players in them.
Please leave suggestions of ways to improve the plugin as I would love to help and make this plugin grow to be awesome!
Commands
- /staff - Shows a list of all the staff.
- /staff <rank> - Shows a list of all the players in a specific rank.
- /staff ranks - Lists the ranks.
- /staff help - Lists the commands.
Installation
Open up the .zip folder and drag the contents into your
server plugin folder. Make sure you drag BOTH
the folder named 'Staff' and the 'Staff.jar' into your
plugins folder
Configuration
For help on configuration, this video has information on it.
This is what your config.yml will look like:
Permissions
The permission node for the commands is simply: staff.command
Donations
I program my plugins in my spare time and I mainly do it for fun.
A small donation would me so much to me and I would appreciate it
greatly so I can continue to make and maintain my plugins.
Could you make the config file auto generate on first startup or when it is missing rather than having to copy it in?
Just a simple check on onEnable to see if you have any of your fields in there:
if(!this.getConfig().contains("field")) {
this.getConfig().set("field", "data");
//Repeat the above ^ as many times are you need, replacing field with the field name, and data
//With the data being stored
saveConfig();
}
add chat liek when u say somthing it says: [owner]maxywaxy4 or somthing that woudl be cool =3
You can do it easy with Essentials
@danielpenguin123
do it in the config
what command do i use to make my self owner!!!???
it would be better if it was possibly... you know.... UPDATED
its not updated to 1.5.2 thats why it doesnt work for some people
Is there a way to reload this with a command?
When I tried installing it, I got this error:
22:06:18 [SEVERE] Could not load 'plugins/Staff.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/Haza2169/Staff/Staff : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.reload(CraftServer.java:594) at org.bukkit.Bukkit.reload(Bukkit.java:184) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchServerCommand(CraftServer.java:506) at net.minecraft.server.v1_4_R1.DedicatedServer.al(DedicatedServer.java:260) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.UnsupportedClassVersionError: me/Haza2169/Staff/Staff : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
Could you please fix it fast?
it does not work :(
Does this work with mac? For some reason it dosen't work on my computer....
Idea! Set an auto timer,like every 30 mins it shows what staff are on?
@Aceboo
its possible that its a problem with your permissions plugin because staff.command should would 100% fine for the players that have that node.
hello, thx for this plugin, I like it as it is pretty useful. However I encounter a small issue : I dont manage to well define the permission node for players. I should have entered a wrong code or something : I added only "staff.command" line to he player's group, but they seem not to be able to use it (they dont have permission for). Did I any mistake ? thank for support and thank again for your plugin.
Editing who is on which list ingame via command would be helpful (along with a separate permission node).
@DaThresh
yes good idea, but people have asked to make ranks certain colors so that would be pointless, however, maybe prefixes instead of red and green could work. I will release an update in a few days
@Haza2169
Maybe in addition to this, if the staff member is offline their name will be red in the staff list and if they are online, it will be in green.
And maybe, if vault supports it, you could add vault support and add a permission node to see if the staff member is in vanish, and their name will be in yellow or green or something.
@Malachi21
thats a good idea, it will be added soon
I think you should add a command where you can type /staff online and see which staff members are online at the moment
Why does this only support Java 1.7?