GameModeChanger for MultiWorld-Server
GameModeChanger for MultiWorld-Server v1.3
GameModeChanger manages your player’s gamemode for each world.
If a player switches to another world on the server, GameModeChanger checks in config-file if players should play in creative, survival or adventure mode in this world!
Features
- change the gamemode of each player separately by command
- assign each world one gamemode
- edit plugin messages in config-file
- ADVENTURE-mode support
- create a “GameMode-whitelist” which contains all players whose gamemode should not be changed although they changes world
- permissions support
- grant access to creative mode command by permission node
- manage worldmodes by command
- set/unset pvp in each world (NEW)
Commands
| /gmd | returns help |
|---|---|
| /gmd 0/1/2 | changes your own gamemode |
| /gmd worldmode | returns the actual gamemode of this world |
| /gmd worldmode 0/1/2 | changes the worlds gamemode and applies changes to every actual player in this world (except for whitelisted players) |
| /gmd set <player> 0/1/2 | set the gamemode of a player manually |
| /gmd wl <player> | puts or removes a player from GameMode-whitelist |
| /gmd getwl | returns all players listed on gmd-whitelist (NEW) |
| /gmd pvp | enables/disables pvp in actual world (NEW) |
Permissions
Use those permission nodes to give some players special access to some commands:
| gmd.creative | gives a player full access to all gamemodes for himself |
|---|---|
| gmd.admin | gives a player full access to all GameModeChanger commands (only for server-moderators and/or admins) |
Configuration
Configuration is really simple. Just open config-file write your worlds in the right list and reload your plugins. The whitelist and the worlds gamemode can also be edited ingame. Messages must be edited in the file. Here is a preview for configuration:
## ## GameModeChanger Config-File ## DO NOT USE TAB! Otherwise your plugin will not work! ## config: creative: - world_nether survival: - world adventure: - world_the_end whitelist: - JohnLocke94 - FightingFox - bs1701 - harryak - blacksnowman007 - Hawkeye94 messages: unknown: Unknown command! doesnotexist: This player is not online or does not exist! changetosurvival: Your GameMode has been changed to SURVIVAL. changetocreative: Your GameMode has been changed to CREATIVE. changetoadventure: Your GameMode has been changed to ADVENTURE. worldmodesurvival: GameMode of this world has been changed to SURVIVAL! worldmodecreative: GameMode of this world has been changed to CREATIVE! worldmodeadventure: GameMode of this world has been changed to ADVENTURE! noperms: You have no permissions to do this!
Troubleshooting
If the plugin does not start and create its folder with config-file, check if you have installed JRE7.
JRE 6 users have to download this version instead of the main-version:
-
View User Profile
-
Send Message
Posted Jul 27, 2012@JohnLocke94
Java 7 sucks. Can you please build one in Java 6? I need this plugin, but I can go find another if you can't.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@grid21
Hi grid21,
could you tell me your Java-Version, please? You'll find it by typing "java -version" in your console (any OS). You need Java 7 for running this plugin! (build 1.7.xx)
If it's not that version try to update Java by uninstalling the old version (important, because java is still using Version 6 if you don't uninstall it!) and install the new Java 7.
Regards,
JohnLocke94
-
View User Profile
-
Send Message
Posted Jun 21, 2012Hey I get this error when I start up my server! Please fix this!
2012-06-21 12:47:16 [SEVERE] Could not load 'plugins\GameModeChanger.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/pirategaming/gmd/Gmd : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: net/pirategaming/gmd/Gmd : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140) ... 8 more
-
View User Profile
-
Send Message
Posted Jun 17, 2012@JohnLocke94 Release of V1.1 will take place later, because I've got much work at school at the moment! Maybe I'll wait for Minecraft 1.3!
-
View User Profile
-
Send Message
Posted May 31, 2012yo, you better hurry, cuz we want to play with your AWESOME plugin ;)
-
View User Profile
-
Send Message
Posted May 26, 2012I've just started working on Version 1.1 for the plugin.
I hope it would be finished next week ;-)
-
View User Profile
-
Send Message
Posted May 26, 2012@walkerm930
Sorry I don't understand why the plugin should check worlds out of another plugin.
That's what you mean, don't you?
-
View User Profile
-
Send Message
Posted May 24, 2012It would be cool if this plugin had an option to check Multiverse for the game type of each world.
-
View User Profile
-
Send Message
Posted May 23, 2012@Unpluggeddk
Okay permissions support like that would be included in next build!
-
View User Profile
-
Send Message
Posted May 22, 2012why ? :
People on my server shuld be able to buy creative on my server via Buycraft..
So they buy the permission node for creative. but only for the world specified.
gmd.creative."Creative" <
Worldgmd.survival."Creative" <
World-
View User Profile
-
Send Message
Posted May 20, 2012@sgcsim
Hi sgcsim, Could you post your config and tell me which worlds are affected by that problem, please?
-
View User Profile
-
Send Message
Posted May 19, 2012Hi, i got problem sometimes when player /tpa to another player in survival world he stay with creative mode after tp ...
-
View User Profile
-
Send Message
Posted Mar 20, 2012@Raciper
@Raciper No, the plugin will not support any inventory management! Therefore you have to install another one. But YES, you will be able to set the GameMode per world. For example if you are running a server with three worlds, world1 could be survival, world2 creative, and world3 survival again. But like I said above, I'm still working on getting the config File to work. (This is my first plugin).
-
View User Profile
-
Send Message
Posted Mar 19, 2012Does the plugin save inventory when mode is changed?
Can permissions be set per world? I would like to have One world creative on the server