ForceGameMode
ForceGameMode
What is it?
ForceGameMode Allows you to force a gamemode Upon your layers using either permissions or a command. Commands like /gamemode will not work for a player that has been put into a forced gamemode.
Features
- Forcing Players into a Gamemode
- Forcing ALL Players into a Gamemode
- Run a Configurable Command on Player Join
Commands
You can use either /forcegamemode or /fgm as a prefix for any of the commands.
/forcegamemode [player] [gamemode]: Will force a gamemode on a player.
You can use either (0, 1, 2) or (c, s, a) or (creative, survival, adventure) for gamemode.
/forcegamemode remove [player]: Will remove the forced gamemode on a player.
Warning:Will not work if permission is used to force a gamemode.
Permissions
forcegamemode.gamemode.survival: This will force a player or group into the Survival gamemode.
forcegamemode.gamemode.creative: This will force a player or group into the Creative gamemode.
forcegamemode.gamemode.adventure: This will force a player or group into the Adventure gamemode.
forcegamemode.admin: This will allow access to all of the commands.
Upcoming Features
- Suggestions?
Thank you guys for 400+ downloads!
Other Plugins by Me: JoinMessage, WordBlackList, GrayList
Hi,
Very nice plugin and it works exactly how I want it to work. However, we're not in 2017. I was hoping it could get updated so the 'spectator' gamemode could be added too. Thanks.
Regards,
Tijn
In reply to Forge_User_63184705:
it is a force gamemode when login? please reply
Is this the kind of plugin one would use if they wanted to make adventure mode a punishment for griefing?
can this force a specific world to be on a gamemode?
if not can you direct me to a plugin that does?
@Ugpzt
Negate the node for the inheriting group.
@tacticalsk8er
Please yes ;)
Tacticalsk8er PLEASE READ.
Currently you have it so that this happens:
If Group = x then GameMode = forcedGameMode
Would it be possible to reverse it and have it so that this happens:
If GameMode = x, Group = ForcedGroup
I'd like it if when you change GameMode to Creative you get the CreativeGroup Permissions And when you change GameMode to Survival you get the SurvivalGroup Permissions
This would mean that on my server a admin could make a guest Gamemode Creative and so they get set to the CreativeGroup and have access to things like World edit permissions, then if they Change Gamemode to Survival to test things they then get put back into the Guest or SurvivalGroup with the lack of World edit permissions
Possibly run a check function when a player changes GameMode
Will be updating this plugin shortly. Probably a complete rewrite.
Hmm...how would this work for permission system with inheritance?
eg.:
where [user] inherits [default]'s permissions.
love the plugin, altho when i forcegamemode on someone and hit enter notihn happends
Testet with Tekkit 3.1.3 (using CB 1.2.5). Works great! Realy cool plugin to make sure mods are not giving out creative to friends. :)
There seems to be a delay with the gamemode change could you make it instant?
@spote1990
Well I can't do that for just one player because I would have to change the difficultly for the whole server
@tacticalsk8er
i thing he meant that you could make a player on hardcore mode because they want it more realistic for survival players
@dudeguything21
There is no such game mode as hardcore. You may be thinking of server posting themselves as a "Harcore" server/ This implies that they have PvP turned on and people can kill you and take your stuff, and/or raid your building/house/town.
if hardcore is a game mode. please add :l
@wsellin
@Craft_Like_A_Pro
You are using a outdated version of Java please update Java.
I am right now looking into fixing all of these problems will update when I have a download available.
2012-08-15 21:26:18 [SEVERE] Could not load 'plugins/ForceGamemode.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/tacticalsk8er/ForceGamemode/ForceGamemode : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155) 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:222) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:565) at org.bukkit.Bukkit.reload(Bukkit.java:183) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:21) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:488) at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: me/tacticalsk8er/ForceGamemode/ForceGamemode : 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(SecureClassLoader.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.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.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144) ... 14 more