Gmlist - Lists players with creative on Command! Version: 1.5.5 - Beta - Bukkit [1.2.5-R1.0-#2149] BukkitDev: Gmlist This simple plugin lists all players with creative GameMode who are currently online(/crl,/crlist). There's also a command for listing survival players(/sul,/sulist). Now you can track who have creative on your server and watch your operators. Features /crl,/crlist - Lists players with creative. /sul,/sulist - Lists players with survival. /gms,/gmc - Changes own GameMode to creative(/gmc), or survival(/gms). Logs gamemode changes.(LogGMChanges: true) Stops gamemode changes to creative when a player hasnt got op or Gmlist.canHave.creative permission.(Requires BlockCreativeWithoutPermOrOp in config on!) Logs whenever someone tries the /gm,/gamemode and /creative command. Logs the message itself so it can be easily seen who tried to change who's gm. Supports Permissions(SuperPerms - PermissionsBukkit, bPermissions, PEX, Essentials GroupManager) Commands /crlist - Lists players with creative mode on. (/crl) Requires op or Gmlist.list permission node. /crl - Lists players with creative mode on.(/crlist) Requires op or Gmlist.list permission node. /sulist - Lists players with survival mode on. (/sul) Requires op or Gmlist.list permission node. /sul - Lists players with survival mode on.(/sulist) Requires op or Gmlist.list permission node. /gms - Changes own GameMode to survival. Requires Op or Gmlist.canSet.survival. /gmc - Changes own GameMode to creative. Requires Op or Gmlist.canSet.creative. Permissions Gmlist.*: description: Player with this permission can have and set(not yet implemented) gamemodes... children: Gmlist.canHave.creative Gmlist.list Gmlist.canHave.creative: description: Player with this permission can have Creative. default: op Gmlist.list: description: Allows a player to lists players with creative (/sul,/sulist,/crl,/crlist) default: op Gmlist.canSet.creative: description: Allows a player to change his GameMode to creative. default: op Gmlist.canSet.survival: description: Allows a player to change his GameMode to survival. default: op Default config.yml Code: LogGMChanges: true //If true, logs whenever a player changes his GameMode 1 --> 0 OR 0 --> 1 Debug: true //Sends debug messages to console(helps when solving problems) LogGMCommands: true //Logs whenever someone tries to use a (/gm,/gamemode,/creative) command.(Logs the command itself so you can see who changed whos gamemode. OpsCanHaveCreative: true //If true Ops can have Creative(But if false and usePerms is true and the player has the permission to have creative it will not block him. usePermissions: true //If true uses Permissions(SuperPerms,PermissionsEx).SuperPerms supports Essentials GroupManager. BlockCreativeWithoutPermOrOp: false // Very Important setting, if true blocks players without op OR Gmlist.canHave.creative permissions having creative game mode. - Watch out for tabs and spaces(It's yml!). Tips and Tricks If you only want the /crlist,/sulist feature turn off whole config except usePermissions when you want to use permissions. Example setup: LogGMChanges: true Debug: false LogGMCommands: true OpsCanHaveCreative: false usePermissions: true BlockCreativeWithoutPermOrOp: false With this setup plugin will log whenever someones gm is changed, logs whenever some Gamemode related command is run. But it didnt blocks any use of creative on your server. It just logs it.. And uses permissions for Gmlist.list. Source You can download the source code on my Github. Planned features Add option to setup permissions. [DONE] Add config to have a place to store setup. [DONE] Add option to log Gamemode changes [DONE] Any ideas? Download You can download it right here or from my github. Newest version gonna be always here(1.5.5) Because it takes time for the file to be displayed on BukkitDev. Testing version: Updated everytime I change something. It cant be even called Alpha. Gmlist.jar Changelog 1.5.3 Fixed some possible bugs. Next version will be a release maybe. 1.5.4 Added /crl,/crlist. /sul,/sulist. Made new commandExecutor classes. 1.5.5 /gms, /gmc
Hello, when i type in /gmlist i'll get the message An internal error ... bla bla bla.... what should i do?
Is it possible to get this to work with Survival players instead? I run a creative server but when they join, they are automatically put onto survival (for a particular reason, I do know how to change it). This would be extremely useful to see who is still on survival if there is a big number of them.
Taugust you should send me a part of the sever.log from the time you sent that command. There should be an [SEVERE] java.trololo.SomeEpicException : bla. bla. Please paste it here or n pastebin.con BranicYeti will implement this command in 1.5.4 which will be up maybe today.
BranicYeti version 1.5.4 has a /crlist(/crl) for listing creative and /sulist(/sul) for listing survival players.
Hey, Loving the plugin just wondering if you could add a function to make users switch to creative/survival such as /gms would toggle the user to survival and /gmc would toggle the user to creative. with separate permission strings for them I've tried multiple plugins with seperate strings for switching gamemodes but all have been unsuccessful either clashing with the vanilla commands or outdated.
Thank you guys! Bagels what about something like this: /gms - Permission node: Gmlist.canset.survival /gmc - Permission node: Gmlist.canset.creative
1.5.5 - Here: [link removed] Can you test it? Gmlist.canSet.creative - /gmc Gmlist.canSet.survival - /gms
When i type in /gmlist i'll get the message org.bukkit.command.CommandException: Unhandled exception executing command 'gmlist' in plugin Gmlist v1.5.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at me.J08nY.GmList.Gmlist.ifPlayer(Gmlist.java:110) at me.J08nY.GmList.Gmlist.onCommand(Gmlist.java:68) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more Caused by: java.lang.ClassNotFoundException: ru.tehkode.permissions.bukkit.PermissionsEx at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334) ... 15 more
Install 1.5.4 or 1.5.5 or any newer than 1.5.3. This is a bug when you dont use PermissionsEx on ypur server..