LOTM Force Game Mode

This Plugin is a rebirth of tacticalsk8er plugin ForceGameMode

What this plugin does!

This plugin will allow a server admin to force a specific game mode on a user via command or using a permission based system. I use this plugin on my Minecraft Server to force user that have second account that they use for recording in spectator mode.

Version 1.5.0 To be Released

  • Plugin now supports Minecraft 1.13.2
  • Now Support UUID for Managing Players
  • Plugin now supports Spectator Game Mode.
  • Forcing Players into a Gamemode
  • Forcing ALL Players into a Gamemode
  • Run a Configurable Command on Player Join
  • Game mode Changed now on Play Join/Move or Both if player has the permission.
  • Custom Configurable messages from Config File

Commands

You can use either /forcegamemode or /fgm as a prefix for any of the commands.

/forcegamemode [player] [gamemode]: Will force a gamemode on a player.

You can use either (0, 1, 2, 3) or (c, s, a, spec or spectate) or (creative, survival, adventure, spectator) for gamemode.

/forcegamemode remove [player]: Will remove the forced gamemode on a player.

Warning:Will not work if permission is used to force a gamemode.

 

Permissions

forcegamemode.gamemode.survival: This will force a player or group into the Survival gamemode.

forcegamemode.gamemode.creative: This will force a player or group into the Creative gamemode.

forcegamemode.gamemode.adventure: This will force a player or group into the Adventure gamemode

forcegamemode.gamemode.spectator: This will force a player or group into Spectator gamemode.

forcegamemode.admin: This will allow access to all of the commands.

 

Config.yml

# GamemodeAll: Forces the specified gamemode for all players.

GamemodeAll: none

 

# SendCommand: If true, sends a command on player join.
# Command: The command to be sent if SendCommand is true.

SendCommand: false
Command:

 

# Force on Posible Options are 'join' 'move' or 'both'
# When ForceOn is set to 'join' fgm will change the game mode at time of player join
# When ForceOn is set to 'move' fgm will change the game mode after the player moves
# When ForceOn is set to 'both' fgm will change the game mode at join or on player move.

ForceOn: join

 

 

# Meesages Section
# This is where you can configure your own custom messages and use & for colour codes

Messages:
FroceSurvival: '&c[Force Game Mode] &6 Game Mode Froced &8 Survival!'
ForceCreative: '&c[Force Game Mode] &6 Game Mode Froced &8 Creative!'
ForceAdventure: '&c[Force Game Mode] &6 Game Mode Froced &8 Adventure!'
ForceSpectator: '&c[Force Game Mode] &6 Game Mode Froced &8 Spectator!'
NoPermission: '&c[Force Game Mode] &6 Sorry you do not have &8 Permission!'

Future Plans:

  • Add Database Support for MySQL
  • Gamemode Timer

Comments

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

About This Project

Categories

Members