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:
anny problems if I list this plugin inside the recommend plugin secton of my plugin? http://dev.bukkit.org/server-mods/multiworld-v-2-0/
Yes I actually like this idea...i can't use multiverse as i don't use multiverse for my extra worlds .... i do use multiinv but it doesn't seem to cover all worlds changing so this is the gap plugin i need to fix that :) thanks for thinking of it...i for one do understand why you came up with it and will be using it :) thanks
@destroyer4017
At the beginning I've tried multiverse to! But it has not matched my idea of managing gamemodes. So I decided to develop my own plugin. I won't do so if there was not a real reason, because it's much work for an amateur like me.
I shared it here for admins who wants a simple solution for their servers and not a big package full of commands and configs nobody understands.
If you won't use this plugin then it's your decision and it's okay (because you have to manage your server and every server needs other plugins) but that does not mean that this plugin isn't useful for some other use cases than yours.
Why not just install multiverse? It comes with all this gamemode nonsense already.
No, right now no inventory management has been integrated!
It's a good idea for a new version, but at the moment please search for another plugin which manages your players inventories.
eg.: I'm using "MultiInv" on my bukkit-server.
Greetings,
JohnLocke94
I would also like to know the answer to mojojohn's comment please :)
will it empty they inventory when they leave a Creative world so they cant cheat?
@mmorichter
Hi mmorichter,
you've installed Java 6 on your server instead of Java 7! This plugin version is only compiled for Java 7. I'll recompile it for you as soon as possible and write the link in the bottom of the plugin-description.
Greetings,
JohnLocke94
Hi Everyone, I have a big problem with this plugin. Can my help everyone? My Problem: 19:12:40 [SCHWERWIEGEND] Could not load 'plugins/GameModeChanger_v1.1.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:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(S implePluginManager.java05) at org.bukkit.plugin.SimplePluginManager.loadPlugins( SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(Cra ftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftSer ver.java:19 at net.minecraft.server.ServerConfigurationManagerAbs tract.<init>(ServerConfigurationManagerAbstract.ja va:50) at net.minecraft.server.ServerConfigurationManager.<i nit>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(Dedicate dServer.java:105) at net.minecraft.server.MinecraftServer.run(Minecraft Server.java7 at net.minecraft.server.ThreadServerApplication.run(S ourceFile:539) 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.defineClass(ClassLoader.java :634) at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader .java:277) at java.net.URLClassLoader.access$000(URLClassLoader. java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java: 212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205) at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java21) at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66) at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin (JavaPluginLoader.java:143)
Thanks. Please write an private message to me.
I just noticed that I forgot to include the plugin-help. I'll patch this as soon as possible maybe with PVP-support!
@MHabib2851
Hi MHabib2851,
nice idea! :D At the moment such a function is not implemented but maybe I'll do so sometime.
Regards, JohnLocke94
Is there a way to make a generated world PvP? While leaving the original non PvP, that is..
@Avo992
Hi Avo992,
have you reloaded plugins, after editing the config? If the issue exists anyway try to add your worlds ingame by typing "/gmd worldmode 0/1/2" while you are standing in the world which should be added.. If nothing helps, please post your worldnames here. I'll check it on my own server and maybe patch the plugin.
Regards,
JohnLocke94
Hi, I am confused.. I change the config to include my world name etc. But it says the world isn't managed by gmd.
Help please?
Its approved finally! Thank you!
Today I've uploaded Version 1.1 of GameModeChanger!
The file still "needs approval" from Bukkit so it may take only a few hours up to release.
@JohnLocke94
Sweet, looking forward to it
@Motorman24
Hi Motorman24,
Version 1.0 works fine with Patch 1.3.1, but the patch for adventure mode and with new functions is already finished. I'm just still testing it for e.g. bugs. It should be released in a few days. ;)
Question, with the way this is setup, do you need to update it for 1.3.1 to work? I want most of my maps to buy survival, and one RPG map to be on adventure mode. I ask if it needs updated since you might have used an int for the gamemode or a boolean for all I know, lol (it is a 0 and a 1 after all :P)
@sillyrosster
Hi sillyrosster,
I've compiled the plugin for you with Java 6 support although I don't understand why you would like to use old Java versions. You should know that a non-actual Java version is one of the biggest security problems for computers.
Here is your link:
http://dev.bukkit.org/server-mods/pirategaming-net-gamemodechanger/files/2-game-mode-changer-1-0-java-6/
Hope you enjoy using the plugin :)
Regards,
JohnLocke94