promotional bannermobile promotional banner

GameModePro

A better way to manage game modes. Includes defaults, cross-world and other permissions.

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

  1. Download on the right
  2. Drop in plugins/
  3. Configure permissions, if so desired
    1. If you use pex, and anybody has'*', you'll may need to negate '-gamemode.default.survival' and '-gamemode.default.creative'
    2. 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.
  4. Configure GameModePro.yml if so desired
  5. 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.

The GameModePro Team

profile avatar
  • 2
    Projects
  • 8.6K
    Downloads

More from _ForgeUser7168057