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
-
View User Profile
-
Send Message
Posted Oct 20, 2017Hi,
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
-
View User Profile
-
Send Message
Posted May 11, 2018In reply to Forge_User_63184705:
-
View User Profile
-
Send Message
Posted Apr 7, 2015it is a force gamemode when login? please reply
-
View User Profile
-
Send Message
Posted Jan 27, 2015Is this the kind of plugin one would use if they wanted to make adventure mode a punishment for griefing?
-
View User Profile
-
Send Message
Posted Apr 29, 2014can this force a specific world to be on a gamemode?
if not can you direct me to a plugin that does?
-
View User Profile
-
Send Message
Posted Sep 25, 2013@Ugpzt
Negate the node for the inheriting group.
-
View User Profile
-
Send Message
Posted Sep 18, 2013@tacticalsk8er
Please yes ;)
-
View User Profile
-
Send Message
Posted May 2, 2013Tacticalsk8er 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
-
View User Profile
-
Send Message
Posted Feb 5, 2013Will be updating this plugin shortly. Probably a complete rewrite.
-
View User Profile
-
Send Message
Posted Jan 16, 2013Hmm...how would this work for permission system with inheritance?
eg.:
where [user] inherits [default]'s permissions.
-
View User Profile
-
Send Message
Posted Dec 29, 2012love the plugin, altho when i forcegamemode on someone and hit enter notihn happends
-
View User Profile
-
Send Message
Posted Dec 4, 2012Testet 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. :)
-
View User Profile
-
Send Message
Posted Nov 25, 2012There seems to be a delay with the gamemode change could you make it instant?
-
View User Profile
-
Send Message
Posted Aug 19, 2012@spote1990
Well I can't do that for just one player because I would have to change the difficultly for the whole server
-
View User Profile
-
Send Message
Posted Aug 19, 2012@tacticalsk8er
i thing he meant that you could make a player on hardcore mode because they want it more realistic for survival players
-
View User Profile
-
Send Message
Posted Aug 16, 2012@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.
-
View User Profile
-
Send Message
Posted Aug 16, 2012if hardcore is a game mode. please add :l
-
View User Profile
-
Send Message
Posted Aug 15, 2012@wsellin
@Craft_Like_A_Pro
You are using a outdated version of Java please update Java.
-
View User Profile
-
Send Message
Posted Aug 15, 2012I am right now looking into fixing all of these problems will update when I have a download available.
-
View User Profile
-
Send Message
Posted Aug 15, 20122012-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