ShiftMode
This allows you to switch between game modes with a simple command which is /shift. This command changes to the opposite game mode of the one your currently on. This plugin also uses PermissionsEx and the node is shiftmode.shift
*Default to Op if there are no permissions!*
Features
Commands: /shift or /sm
- simple commands
- supports superperms
Permission node
- shiftmode.shift
Configuration file
- edit messages given to players
Todo
- change others game mode
woot! thank you! tired of plugins using command /gamemode. As this conflicts with the OP default server settings. Thanks!
@thefowles1
I'm aware of this and i will try to make it so that other players (and the console) can change other players game mode, but thanks for the notice :)
I take that back, the errors are still there, but I know why. Using "shift" from the console throws up the errors, as if it doesn't recognize that trying to use it from the console won't work because the console isn't a player. Using it in-game works just perfectly. /derp
@DT_Rush
Thanks :)
@xFli3r
Already ahead of you. The next update supports superperms and is default to op and will be released when a RB for Bukkit comes out
Could you make it so that on the next update. If it doesn't find PermissionsEx that it defaults to OP? That would be awesome :)
@tips48
look all I am going to say is this, i only made this plugin for myself and thought i would share it to the people who think it would be useful so if you don't like it don't download it because there are plenty of other plugins that do the same thing and maybe even better
Theres absolutely no reason for this to require PEX. It shouldn't hook into PEX at all, infact. It should just register permissions in plugin.yml and use player.hasPermission() Boom, compatible with bPermissions, PEX, and SuperPerms
I don't mean to sound critical, or tell you your business, but the standard expectation as to permissions and required plugins is that the plugin will not need them. It would make sense if this plugin had something to do with permissions, but it really seems to be a simple (but great) change with no clear reason why permissions are required.
Uhmm would you be able so that if there is no PermissionsEx, it makes it so its default to Op. That would be very useful. Thanks!
@hiukuss
Sorry i should have explained that this only works with PermissionsEx
This doesn't work without PEX. I tried and it gave me a fatal error. Here is the error:
[SEVERE]null org.bukkit.command.CommandException: Unhandled exception executing command 'shift' in plugin ShiftMode v1.5.1 Caused by: java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/ PermissionsEx Caused by: java.lang.ClassNotFoundException: ru.tehkode.permissions.bukkit. PermissionsEx