WorldModes
WorldModes
Configure world-specific game modes, allow players to switch game modes, and restrict inventory carry-over when switching from creative mode.
Whats New?
Version 2.4 adds a console-only command to check a player's WorldModes permissions.
Version 2.3 adds the ability for the plugin to update itself and to send anonymous usage statistics. Both are optional and can be turned off by adding 'settings.disable-updates' and 'settings.disable-stats' to config.yml respectively.
As of version 2.1, you no longer need BaseBukkitPlugin.jar in your plugin folder. In fact, please remove this file when upgrading to version 2.1 or higher. WorldModes will automatically download and install this library when it detects that it is missing or has been updated. If you need to manually install the jar, download it from the github release directory and move it to the WorldModes folder. Do not install it in the plugin folder!
NOTE: When upgrading to version 1.8 or later, change your permissions as below (worldmodes.survival and worldmodes.creative become worldmode.mode.survival and worldmodes.mode.creative respectively)
This plugin allows server administrators to enforce world-specific game modes. The plugin can also manage inventories for certain players by restoring an inventory when switching back from creative mode. It is lightweight and works based on the following permissions that can be assigned for groups or players on a per-world basis.
General and game-mode restricting permissions:
- worldmodes.*: a player or groups with this permission can do anything in either creative or survival mode
- worldmodes.mode.*: players or groups with this permisison can be in either creative or survival mode
- worldmodes.mode.creative: a player or groups with this permission can only be in creative mode
- worldmodes.mode.survival: a player or groups with this permission can only be in survival mode
- worldmodes.autoset.survival: a player with this permission will automatically be switched to survival mode regardless of their ability to change it (note, the player must have 'worldmodes.survival' set)
- worldmodes.autoset.creative: a player with this permission will automatically be switched to creative mode regardless of their ability to change it (note, the player must have 'worldmodes.creative' set)
The plugin provides the gamemode command to players based on the following permissions:
- worldmodes.set.*: allows a player to set their own and anyone else's game mode
- worldmodes.set.self: allows a player to change their own game mode
- worldmodes.set.others: allows a player to change everyone else's game mode
- worldmodes.set.<group>: allows a player to change the game mode of players in that group
The following permissions can be used to manage inventories when switching between game modes:
- worldmodes.drop: allows players to drop items and to access chests and dispensers in creative mode
- worldmodes.keep-inventory: allows players to retain their inventory when switching out of creative mode
Note that the 'worldmodes.drop' permission does not fully protect from cheating as players can still use crafting benches and furnaces.
Command Usage:
- /gm : toggle your own game mode
- /gm <game mode> : set you game mode to the specified mode
- /gm <player> : toggle player's game mode
- /gm <player> <game mode> : set player's game mode to the specified mode
Game modes can be specified as follows:
- SURVIVAL : the number 0 or any word starting with s
- CREATIVE: the number 1 or any word starting with c
The actual command registered is 'gamemode' and its aliases are 'gm', 'gmt', and 'gms'
Console-only command: gm check <player>: dump a player's WorldModes permissions
Requirements:
Obviously, you need to run a 1.8 compatible CB build (1370 and above) and a permission plugin. WorldModes supports Bukkit's permissions, Permissions, PermissionsEx, and GroupManager.
You may also want to look into running a world-specific inventory plugin like MultiInv!
-
View User Profile
-
Send Message
Posted Aug 21, 2012@sillyrosster
Are folks still using this? :) Multiverse now provides all the functionality...
I will look into updating it for 1.3/Java 7 though, but last I checked it was working fine for me in 1.3.
-
View User Profile
-
Send Message
Posted Aug 21, 2012@sunkid
Are you going to get a 1.3 version up? Currently it's not working on Java 7, as of my last test, can you build it on Java 7 please?
-
View User Profile
-
Send Message
Posted Jun 20, 2012@sunkid
I found a replacement, but I might switch back because I like some features this plugin has to offer. I got an error saying it was out-dated, so yeah..
-
View User Profile
-
Send Message
Posted Jun 19, 2012@Royalgamer06
It's been running fine on hundreds of servers. Did you have any problems with it?
-
View User Profile
-
Send Message
Posted Jun 19, 2012@sillyrosster
Can you be more specific about what isn't working anymore, please? Also, it's not live yet, but I uploaded a new version earlier. Nothing changed in it other than how it checks for updates of itself.
-
View User Profile
-
Send Message
Posted Jun 19, 2012@sunkid
It isn't working anymore, would be really nice if it was updated because this is the only one that I have found that actually does what I want it to do. I'll start searching for a new one, as this seems to be inactive =/
-
View User Profile
-
Send Message
Posted Apr 23, 2012It doesn't work for me... the game modes are changed but the creative and survival inventories aren't kept apart.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@sillyrosster
Is it not working for you?
-
View User Profile
-
Send Message
Posted Apr 18, 2012Is this ever going to be updated again?
-
View User Profile
-
Send Message
Posted Apr 1, 2012@Royalgamer06 Use http://dev.bukkit.org/server-mods/multiinv/#c245 or http://dev.bukkit.org/server-mods/multiverse-inventories/
-
View User Profile
-
Send Message
Posted Mar 13, 2012Great Plugin. I was wondering if you could add support to reset XP between gamemodes, people tend to use the creative XP bottles to cheat xp into the survival map.
-
View User Profile
-
Send Message
Posted Mar 10, 2012Could you make it so users with creative can't access furnaces?
They can put items in furnaces, switch to survival and they have them.
I believe chests are blocked by this plugin already.
-
View User Profile
-
Send Message
Posted Mar 6, 2012...also - works OK - meant to add that... :)
-
View User Profile
-
Send Message
Posted Mar 6, 2012Seems to load OK now - thx!
-
View User Profile
-
Send Message
Posted Mar 5, 2012The error was the same. Thx for the release - I will try it later today.
-
View User Profile
-
Send Message
Posted Mar 4, 2012@GravelSocks
I doubt you got the same error though. In any case, the new release is
in the worksout! And don't worry about BaseBukkitPlugin, it installs itself.-
View User Profile
-
Send Message
Posted Mar 4, 2012Correct - I just tried it again and it is still broken. Nothing wrong with my download. Also, there is no BaseBukkit plugin in the release folder for the 1.2.3.R0.x dev version. Which one are we supposed to use? Please include it with the next build once you figure out the issue. Thx!
-
View User Profile
-
Send Message
Posted Mar 4, 2012@natewiebe13
I am working on it... I assume you are running bukkit 1.2.3-R0.2? That release had another stealthy plugin-breaking change in it.
-
View User Profile
-
Send Message
Posted Mar 4, 2012I tried 2.62 which should be the latest release. I get the following error: http://paste.ubuntu.com/869097/
-natewiebe13
-
View User Profile
-
Send Message
Posted Mar 4, 2012@GravelSocks
So you re-downloaded and it is still not working?