Gmlist
Gmlist
This mod simply allows Operators and Server Admins to check who is playing with creative mode on by using /crlist (/crl) command. You can also list players with survival by use of /sulist(/sul). If you find any bugs please let me know by commenting this page or by a ticket.
Thank you, guys for the 4027(dev.bukkit.org + github.com) downloads!!
Version for 1.2.5 - R2.0 Will be up soon.
1.5.5 Out!
Features
- /crl,/crlist - Lists players with creative.
- /sul,/sulist - Lists players with survival.
- /gms,/gmc - Changes Your own GameMode to survival(/gms) or creative(/gmc) Requires Op or Gmlist.canSet.survival / .creative
- 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 true!)
- 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)
Game and Plugin version
Plugin(Beta): 1.5.5 supports Bukkit 1.2.5-R1.0 - #2149(Recommended build). But I can export this plugin on any version you want so If you run an old server and you want to use it simply write a comment.
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.
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.canSet.creative: description: Player with this permission can set himself on Creative. default: OP
- Gmlist.canSet.survival: description: Player with this permission can set himself on Survival. default: OP
- Gmlist.list: description: Allows a player to lists players with creative (/crl,/sul,/crlist,/sulist) default: OP
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(to creative only maybe) [DONE]
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 here.
- Testing version: Updated everytime I change something. It cant be even called Alpha. Gmlist.jar
Default config
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.
Very very very good plugin! Useful to track hackers! Still works... But an update would be nice :)
Update it, please. Add adventure GameMod
@rythar
Depending on your permissions plugin, yes. Some plugins (like GroupManager) give you the option to set world mirrors. This will allow you to set permissions for a group of worlds. In this case, you wont need to set the permissions again. Other plugins group all worlds together, so you will not have to set permissions for each world. And some plugins will not group any worlds, in which case you will have to set permissions.
THis is a great plugin I have been using it for months andit still works great. One question I am working on setting up a creative world with multiverse will I have to set multi-world permissions so my players can be creative in the new world?
I love you, the BlockCreativeWithoutPermOrOp feature is amazing. Thank you so much.
@kolnan420
Thank you!
Thanks for this sweet plugin! I found someone in a survival world building with unlimited protection-stones this morning with it =D he had some kind of creative hack, or my server bugged and didn't switch his gm from the creative world. Anyways thanks for this sweet plugin!
@Vettexl
Fuuuh I just found out that this is kinda impossible right now... Maybe I can log gm changes to some .yml file and then load gamemodes of offline players out of that.
@Vettexl
Yeah sure! Can make a command for that. Any ideas about the syntax of the command? /sul offline - Lists only offline survival players. /sul - Lists only online survival players.
Great plugin, works as advertised. One question: is it possible to create a list of creative players that are offline?
@J08nY
Yes, I did a complete server restart, still empty. Deleted, still empty. Tried on my test server, that's the only plugin running, same result. Sure, I can use that config; just want to make sure the bugs are reported.
@jdastrup
Do you tried reloading the server? And can you try to Manually paste the content of this: http://pastebin.com/FKmjAWs7 inside config.yml
Hey, try deleting the config.yml. It should load it again. A new one..
@jdastrup
Hmm, Gonna have a look at it. But I have no idea why this is happening.
@J08nY
No config. It created the Gmlist folder and config.yml, but the file is empty
2012-04-06 11:11:58 [INFO] [Gmlist] Enabling Gmlist v1.5.1
2012-04-06 11:11:58 [INFO] [Gmlist 1.5.1] Plugin by J08nY.
2012-04-06 11:11:58 [INFO] [Gmlist 1.5.1] DEBUG : Found PermissionsEx!
2012-04-06 11:11:58 [INFO] [Gmlist 1.5.1] DEBUG : Succesfully hooked to them!
2012-04-06 11:11:58 [INFO] Loaded Gmlist successfully!
@jdastrup
It shouldnt do that because I didnt changed anything in the config method.
@jdastrup
Does it print out the DEBUG: Config OK! message?
@J08nY
No more error, but it creates an empty config.yml.
@J08nY
Okay. Try this out and let me know if it works.. http://dl.dropbox.com/u/6276334/Gmlist.jar
@jdastrup
Whoops! Hmm Pretty Major bug. Will fix it in 1.5.1 wait few minutes.
I get this error when loading. Using 1.2.5-R1 and PermissionsEx:
2012-04-06 10:25:14 [INFO] [Gmlist] Enabling Gmlist v1.5
2012-04-06 10:25:14 [INFO] [Gmlist 1.5] Plugin by J08nY.
2012-04-06 10:25:14 [INFO] [Gmlist 1.5] DEBUG : Found PermissionsEx!
2012-04-06 10:25:14 [INFO] [Gmlist 1.5] DEBUG : Succesfully hooked to them!
2012-04-06 10:25:14 [SEVERE] Permission node 'Gmlist.*' in plugin description file for Gmlist v1.5 is invalid
java.lang.IllegalArgumentException: 'children' key is of wrong type
at org.bukkit.permissions.Permission.loadPermission(Permission.java:282)
at org.bukkit.permissions.Permission.loadPermissions(Permission.java:215)
at org.bukkit.plugin.PluginDescriptionFile.getPermissions(PluginDescriptionFile.java:167)
at ru.tehkode.permissions.bukkit.BukkitPermissions$EventListener.onPluginEnable(BukkitPermissions.java:137)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:343)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at im.mcft.pluginreloader.PluginReloader.loadPlugin(PluginReloader.java:250)
at im.mcft.pluginreloader.PluginReloader.onCommand(PluginReloader.java:86)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-04-06 10:25:14 [INFO] Loaded Gmlist successfully!