SimpleGamemode icon

SimpleGamemode -----

Simplify commands to change the gamemode (/gm)




Code (YAML):
# set gamemode on join
onJoinGamemode
:

  enabled
: true

  # SURVIVAL, ADVENTURE, SPECTATOR or CREATIVE
  gamemode
: CREATIVE
----------, May 1, 2021

+ onEnable message customization
+ onDisable message customization

Code (YAML):
  # other messages
  onEnable
: 'Plugin enabled.'
  onDisable
: 'Plugin disabled.'

+ minor fix

----------, Mar 3, 2021

hotfix /gmreload
----------, Feb 25, 2021

New command:
/gmreload - reload config

'&' support
Update and fix config:
Code (YAML):
# SimpleGamemode
# 1.13.2 - 1.16.5

messages
:

  # error messages
  noPermission
: '&7SGM | &cYou don''t have permission!'
  inGame
: '&7SGM | &cYou can only use this in game!'
  unknownGamemode
: '&7SGM | &cUnknown game mode!'
  unknownCommand
: '&7SGM | &cUnknown command!'
  playerOffline
: '&7SGM | &cThis player is not on the server!'

  # info messages
  giveMessage
: '&7SGM | &aYou have set &6 {player } &ato &6 {gamemode }'
  getMessage
: '&7SGM | &aYour game mode was set to &6 {gamemode }'
  reloadMessage
: '&7SGM Admin | &aConfig reloaded'

placeholders
:

  # {gamemode} placeholder
  gamemode
:
    survival
: 'survival'
    creative
: 'creative'
    adventure
: 'adventure'
    spectator
: 'spectator'


permissions
:

  # Reload config
  # /gmreload
  reloadConfig
:
    permission
: simplegm.reload
    needPerm
: true

  # Change gamemode yourself
  # /gm {gamemode}
  gamemodeSurvival
:
    permission
: simplegm.set.survival
    needPerm
: true
  gamemodeCreative
:
    permission
: simplegm.set.cretive
    needPerm
: true
  gamemodeAdventure
:
    permission
: simplegm.set.adventure
    needPerm
: true
  gamemodeSpectator
:
    permission
: simplegm.set.spectator
    needPerm
: true

  # Change gamemode other players
  # /gm {gamemode} [player]
  gamemodeSurvivalOther
:
    permission
: simplegm.set.other.survival
    needPerm
: true
  gamemodeCreativeOther
:
    permission
: simplegm.set.other.cretive
    needPerm
: true
  gamemodeAdventureOther
:
    permission
: simplegm.set.other.adventure
    needPerm
: true
  gamemodeSpectatorOther
:
    permission
: simplegm.set.other.spectator
    needPerm
: true
 
place hoders -> place holders (micro fix)
----------, Feb 25, 2021

+ bStats
+ micro fix
----------, Feb 24, 2021

1.1.0:
+ Placeholders customization
Code (YAML):
placehoders :

  # {gamemode} placeholder
  gamemode
:
    survival
: 'survival'
    creative
: 'creative'
    adventure
: 'adventure'
    spectator
: 'spectator'
 
----------, Feb 24, 2021

Resource Information
Author:
----------
Total Downloads: 567
First Release: Feb 23, 2021
Last Update: May 1, 2021
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings