GameModePlus

I needed a plugin for my server to allow players to change their game mode, but I seem to have a weird version of PermissionsEx, and all the pre-existing plugins didn't work because they only use SuperPerms. I threw this together to also hook Permissions 2/3. If you are still using either of those, or you're having the same trouble with PEX as me, this is the game mode changer for you!

Commands

  • /gms ~ Changes your game mode to Survival (perms: gamemodeplus.survival)
  • /gms [username] ~ Changes someone's game mode to Survival (perms: gamemodeplus.survival.other)
  • /gmc ~ Changes your game mode to Creative (perms: gamemodeplus.creative)
  • /gmc [username] ~ Changes someone's game mode to Creative (perms: gamemodeplus.creative.other)

Configuration

  • plugin_version - Don't change this.
  • message_prefix - The prefix for all messages sent by the plugin
  • permissions.force_superperms - if true, will use SuperPerms even if you have Permissions installed
  • permissions.ops_have_all_perms - if true, OPs don't need permissions nodes to do stuff
  • logging.log_commands - if true, logs all commands
  • logging.log_methods - if true, logs all method access (not very useful in this plugin, I just copied this from CoolStoryBro)

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit