GameModePro
GameModePro
The best way to manage gamemodes
Features
- Let users set their own gamemodes
- Toggle or explicitly set gamemode
- Set default gamemode for each user for each world
- Set others' gamemodes
- Restrict crossworld gamemode setting via permissions
- Supports console completely
- Notifies staff of gamemode changes
Installation
- Download on the right
- Drop in plugins/
- Configure permissions, if so desired
- If you use pex, and anybody has'*', you'll may need to negate '-gamemode.default.survival' and '-gamemode.default.creative'
- If you use multiverse and want to use default gamemodes, you need to give users multiverse.bypass.gamemode.WORLDNAME for each world where defaults are used. This is still buggy because the MV feature is still in development.
- Configure GameModePro.yml if so desired
- Profit?
Permissions
gamemode.admin to reload config (not used at the moment) gamemode.notify to notify the user when *anybody* changes their mode gamemode.mode.creative to change self to creative mode gamemode.mode.survival to change self to survival mode gamemode.mode.check to check any user's mode gamemode.mode.* for all gamemode.other to change others' gamemodes gamemode.crossworld to change others' gamemodes across worlds gamemode.default.creative to default to creative mode (make sure you set multiverse.bypass.gamemode.WORLDNAME) (still testing) gamemode.default.survival to default to survival mode (see ^) (still testing) gamemode.bypass.wait.creative allows immediate change to creative (2.3) gamemode.bypass.wait.survival allows immediate change to survival (2.3)
Configuration
(coming in 2.3)
In plugins/GameModePro/GameModePro.yml the following nodes exist:
helpfuldeny: true (true/false. shows "You need gamemode.mode.creative to do that!" instead of "Sorry, you can't do that here!") delaymode: cooldown (cooldown/warmup. switches the type of delay applied) (warmup isn't implemented yet) creativedelay: 0 (long. number of TICKS after a /gm c where the player cannot change modes again: 20 ticks = 1 second) survivaldelay: 0 (long. see ^ ) showtosurvival: true (true/false. shows console notifications when a user changes to survival) showtocreative: true (true/false. see ^ ) warmupstandstill: true (true/false. if true, if the user moves during warmup, their change is cancelled)
Command
/gm [who] [mode]
/gm is also /gamemode and /mode
If omitted, who defaults to yourself. It also autocompletes.
If omitted, mode defaults to toggle. It can be one of <b>t</b> for toggle, <b>c</b> or <b>1</b> for creative, or <b>s</b> or <b>0</b> for survival. Use <b>k</b> to check a user's gamemode.
Changelog
v2.2 * Change to new event system v2.1 + Add gamemode.notify v2.0 * Restructured code * Improved logging v1.2 * Improved logging v1.1 + Added 'k' action to check a user's gamemode v1.0 + Initial Release
Source
On request. Public git coming soon.
-
View User Profile
-
Send Message
Posted Dec 8, 2014H1 H2 H3 H4
-
View User Profile
-
Send Message
Posted Nov 13, 2012i would suggest those who are looking for a plugin like this for adventurer mode to use http://dev.bukkit.org/server-mods/autogamemode/
-
View User Profile
-
Send Message
Posted Aug 13, 2012this would be exactly what i need, however, i need adventure mode support. if you'd implement that, you'd make my day.
i'd like my mods to be able to toggle players between adventure and survival mode, but not have access to creative
-
View User Profile
-
Send Message
Posted Jul 16, 2012OK well thanks anyway :D
-
View User Profile
-
Send Message
Posted Jul 14, 2012@surfarcher There's no timeout - at the moment it's meant to just allow people to switch in an easy and intuitive manner. If there's reasonable demand for iConomy or timeouts I'll implement those.
-
View User Profile
-
Send Message
Posted Jul 14, 2012Just reading through and trying to understand... Will this allow my players to switch to creative and, after a set timeout, put them back in survival? Then all I need is for them to pay iConomy money to do that... ;)
-
View User Profile
-
Send Message
Posted May 21, 2012Status update: I am finally out of finals, and am now working on the active tickets. I stupidly didn't take advantage of git branches so I can't fix any bugs until I finish adding warmup/cooldown, so expect the next release to be a big one for new features and squashed bugs.
-
View User Profile
-
Send Message
Posted May 9, 2012@lucas156
A glance at the list of permissions nodes will very quickly tell you what limits you can place on users.
-
View User Profile
-
Send Message
Posted May 9, 2012So with this plugin other people cant change their own gamemode if u want 2?
-
View User Profile
-
Send Message
Posted Apr 13, 2012It would've been nice if the plugin remembers/restores the player's most recent gamemode-state.
EDIT: Somehow i can't set the default gamemode for my user-groups to creative (i'm using bPermissions). I've used the correct nodes but on login the gamemode always automatically changes to survival mode. (it's as if something overules it).
I'm not using any other gamemode-related plugins, nor Multiverse and all gamemode related notifications come from GameModePro.
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Mar 26, 2012Is it possible to disable the console notifications when someone changes their mode. It gets a bit spammy/flooded ;-)
Thanks, - ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Mar 19, 2012@fractalwolfe
It's not in any way unethical, I'm actually technically in violation of the GPL by not having the source available.
@Videogamenut101
You really should use Multiverse to do that, the default gamemodes here are meant to be used by admins, not to set users to modes per world, and thus have not been tested for enforcement, only utility.
-
View User Profile
-
Send Message
Posted Mar 19, 2012So, if you wanted to have Creative in one world and survival in the other, how would you do that? (Not using Multiverse)
-
View User Profile
-
Send Message
Posted Mar 18, 2012@mallegonian
Java is decompilable quite easily, especially when it comes to smaller plugins. I must apologize for taking the unethical route, but in light of your absence, I figured I'd help others by releasing the updated version since I myself needed it. :)
Thank you for the official update. I shall be "updating" to your version right away.
-
View User Profile
-
Send Message
Posted Mar 18, 2012@fractalwolfe
I appreciate the gap-filling, but how did you get the source? ^.^ I'm still trying to figure out my git system, so afaik the source exists only on my machines and my server.
-
View User Profile
-
Send Message
Posted Mar 18, 2012MultiInv supports separate inventories for gamemodes - I think that's a bit beyond the scope of this plugin.
wolfenit, only recent MV builds support the permission node that makes it not enforce gamemodes for specific players. Anything that works on 1.2+ should be fine.
watarimon, make sure users have gamemode.mode.* ONLY in the creative world - you'll need to check the pex or bperms help for how to do that.
Apologies for the conspicuous absence, I wrongly assumed I'd be emailed or notified about new tickets and stuff. There should be a new beta build up in a few hours, once it's approved. Thanks, everyone, for the support!
-
View User Profile
-
Send Message
Posted Mar 12, 2012Should add a delay switch between Survival and Creative in seconds which can be edited in config.
So admin can define the amount of seconds a player has to wait before switching into creative or survival.
-
View User Profile
-
Send Message
Posted Mar 4, 2012Updated for CB 1.2.3-R0.1
I found this plugin to be the simplest one to use, and didn't want to settle for less, so I've updated it for CB 1.2.3-R0.1.
The only change made is that I've updated it to use the new event system, that's it. Other than that it's exactly the same as the author's 2.0 version.
Thanks for a gamemode switcher that is actually easier to use than the vanilla command.
-
View User Profile
-
Send Message
Posted Feb 23, 2012Trying to set up my server so players can change gamemode in the creative world and not be able to do it in survival world but can't quite get it to work. I have a multiverse setup with one creative and one survival world. I've set the multiverse.bypass.gamemode.Creativeland permission on the creative world, then gamemode.mode.creative and gamemode.mode.survival but they can still change their gamemode in the survival world. I must have missed something but what?
-
View User Profile
-
Send Message
Posted Jan 27, 2012Players can place blocks in their inventory while on creative mode then go back to survival and keep those blocks.
Is there a way you can make it clear inventory when you go back to survival? or something that can prevent that? Thanks! Keep it updated.