Game Mode Changer

How to Install

  1. Download the GameModeChanger.jar The one on the top is the latest or click download on the right
  2. Drag and Drop the GameModeChanger.jar into the plugins folder
  3. Start your server and that's it!
  4. Configure the config.yml

Git-Hub

How to make a Sign

-- Main Sign --

  1. Place down your sign
  2. Put [GameMode] on the first line
  3. on the second line put either [ toggle | creative | survival | adventure ]
  4. Press done to complete the sign
  5. You are now done
  • To use the sign just right click it

-- Player Sign --

  1. Place down your sign
  2. Put [GameMode] on the first line
  3. Put [Player] on the second line
  4. Put [ survival | creative | adventure ] on the third line
  5. Press done to complete the sign
  6. You are now done.
  • To use the sign just right click it

Description:

  • This allows a player easily change someone's gamemode with custom messages to the player and the target. Plus you don't have to type the full name of the player. This is my first Public Plugin.

Version:

  • 1.8 through 1.11

Features

  • Allows a player to change their gamemode
  • Allows a player to toggle their gamemode
  • Allows a player to change someone's gamemode
  • Allows a player to toggle someone's gamemode
  • Custom Messages
  • Use Signs to change gamemode's with creative | survival | toggle
  • Signs are protected
  • People in creative can't drop anything unless they have permission to bypass it. (For players and Staff) *Mainly Staff*
  • People in survival can't drop anything unless they have permission to bypass it. (For players and Staff) *Mainly Staff*
  • Multi-World Support
  • Blocks people from abusing creative like xp potions, potions, spawning eggs, eggs
  • Blocks people from using anything that requires a GUI. Ex. Furnaces, Crafting Tables, Brewing Stand.
  • When players logs in/out there gamemode gets changed corresponding to the config file.
  • Console support
  • With one command you can set all players gamemode
  • With a command you can set the default gamemode
  • With a command you can get the default gamemode
  • Get all online gamemode
  • Towny support *blocks during war*
  • Factions support *blocks within safezones and blocks within warzones*

Commands

<> are optional [] required

  • /gm sur <player>
  • /gm cre <player>
  • /gm toggle <player>
  • /gm help <sign>
  • /gm setdefault [gamemode]
  • /gm setall [gamemode]
  • /gm getdefault
  • /gm getall
  • /gc <player>
  • /gs <player>
  • /gt <player>

Permissions

  • gamemode.change To even access the rest of commands
  • gamemode.creative.change.self To make yourself creative command
  • gamemode.survival.change.self To make yourself survival command
  • gamemode.adventure.change.self To make yourself adventure command
  • gamemode.toggle.change.self To toggle yourself command
  • gamemode.creative.change.player To make targeted player creative command
  • gamemode.survival.change.player To make targeted player survival command
  • gamemode.adventure.change.player To make targeted player adventure command
  • gamemode.toggle.change.player To toggle a targeted player gamemode
  • gamemode.sign.create.creative Allows a player to create a creative sign
  • gamemode.sign.create.survival Allows a player to create a survival sign
  • gamemode.sign.create.toggle Allows a player to create a toggle sign
  • gamemode.signs.create.player.creative Allows you to create a player sign
  • gamemode.signs.create.player.survival Allows you to create a player sign
  • gamemode.signs.create.player.adventure Allows you to create a player sign
  • gamemode.sign.interact.creative Allows a player to use the sign
  • gamemode.sign.interact.survival Allows a player to use the sign
  • gamemode.sign.interact.toggle Allows a player to use the sign
  • gamemode.sign.interact.player.creative Allows a player to use the player sign
  • gamemode.sign.interact.player.survival Allows a player to use the player sign
  • gamemode.sign.interact.player.adventure Allows a player to use the player sign
  • gamemode.sign.delete Allows you to break a creative sign
  • gamemode.bypass.creative.drop Lets you drop items in creative
  • gamemode.bypass.survival.drop Lets you drop items in survival
  • gamemode.world.creative If a world is set to creative you will be able to get it
  • gamemode.world.survival If a world is set to survival you will be able to get it
  • gamemode.recieve.debug If config is not set right and you go through portal it will send it to you
  • gamemode.bypass.creative.spawnegg Allows you to use a spawning egg in creative
  • gamemode.bypass.creative.egg Allows you to use eggs in creative
  • gamemode.bypass.creative.potions Allows you to use potions in creative
  • gamemode.bypass.creative.enderpearl Allows you to use enderpearls in creative
  • gamemode.bypass.creative.gui Allows you to use gui's in creative
  • gamemode.bypass.survival.spawnegg Allows you to use a spawning egg in survival
  • gamemode.bypass.survival.egg Allows you to use eggs in survival
  • gamemode.bypass.survival.potions Allows you to use potions in survival
  • gamemode.bypass.survival.enderpearl Allows you to use enderpearls in survival
  • gamemode.bypass.survival.gui Allows you to use gui's in survival
  • gamemode.setall Allows you to set all online players gamemode
  • gamemode.setdefault Allows you to set the default gamemode of the server
  • gamemode.getdefault Allows you to get the default gamemode of the server
  • gamemode.bypass.factions.warzone.spawnegg Allows you to use mob spawning eggs in a warzone
  • gamemode.bypass.factions.warzone.gui Allows you to use anything that requires a gui in a warzone
  • gamemode.bypass.factions.warzone.potions Allows you to use potions in a warzone
  • gamemode.bypass.factions.warzone.enderpearl Allows you to use a Ender Pearl in a warzone
  • gamemode.bypass.factions.warzone.egg Allows you to throw chicken eggs in a warzone
  • gamemode.bypass.factions.safezone.spawnegg Allows you to use mob spawning eggs in a safezone
  • gamemode.bypass.factions.safezone.gui Allows you to use anything that requires a gui in a safezone
  • gamemode.bypass.factions.safezone.potions Allows you to use potions in a safezone
  • gamemode.bypass.factions.safezone.enderpearl Allows you to use a Ender Pearl in a safezone
  • gamemode.bypass.factions.safezone.egg Allows you to throw chicken eggs in a safezone
  • gamemode.bypass.towny.war.spawnegg Allows you to use mob spawning eggs in a war
  • gamemode.bypass.towny.war.gui Allows you to use anything that requires a gui in a war
  • gamemode.bypass.towny.war.potions Allows you to use potions in a war
  • gamemode.bypass.towny.war.enderpearl Allows you to use a Ender Pearl in a war
  • gamemode.bypass.towny.war.egg Allows you to throw chicken eggs in a war
  • gamemode.bypass.towny.war.snowball Allows you to throw snow balls in a war
  • gamemode.bypass.factions.warzone.snowball Allows you to throw snow balls in a warzone
  • gamemode.bypass.factions.safezone.snowball Allows you to throw snow balls in a safezone
  • gamemode.bypass.log.join If you don't have this your gamemode will be changed according to the config file.
  • Want to see permissions with the commands! Link (not updated to v2.3 yet)

Removed Features

  • Removed onLeave because when someone leaves you can't change there gamemode

Change Log

Bugs

  • Other methods of changing game require the main permission node gamemode.* Fixed in v2.5
  • /gm setall | setdefault dont really work Fixed in v2.2
  • When you want to change someone else's gamemode it changes yours or grabs your gm to determine the other player's gamemode. FIxed in v2.0
  • When you use any command on a player it checks if you are online and not the player you are trying to get. Fixed in v2.0
  • Could not pass event PlayerInteractEvent to GameModeChanger Fixed in v1.7
  • Players could not eat nor shoot arrows Fixed in v1.7
  • Error on load Fixed in v1.7
  • Could not pass Event Fixed in v1.6
  • Fixed Logging Error Fixed in v1.5
  • Fixed Signs Error Wall signs would not work Fixed in v1.4
  • Bug to Report? Link

To-do List

  • Add Vault Support for new command /gamemode Added in v2.4
  • Add blocks for Snow balls Added in v2.4
  • Add new command /gamemode features people will be able to buy creative or survival mode. Added in v2.4
  • Add a new sign features people will be able to buy creative or survival mode from a sign. Added in v2.4
  • Better Sign Protection Added in v2.3
  • Add Faction Support (Warzones and Safezones) Added in v2.3
  • Add Towny Support (Wartime) Added in v2.3
  • Add Console Support(Commands can be used in Console) Added in v2.1
  • Better Chat! Added in v2.0
  • Block Furnace, Crafting Bench, Echantment Table or anything that involves a gui Added in v2.0
  • Block eggs, spawn eggs, xp potions, potions, enderpearls without permission Added in v1.9
  • Add multi-world support Added in v1.8
  • Sign Support Added in v1.1
  • Add world-guard support! Coming soon (Don't know when)
  • Translate into Spanish, French, Swedish, and German Need Translators!

Download

Donations

  • If you like what you see and want to support the development of this plugin and any other plugins i decide to create, please donate by clicking on the donation button below.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    36911
  • Created
    Feb 25, 2012
  • Last Released File
    Jun 28, 2017
  • Total Downloads
    12,319
  • License

Categories

Members

Recent Files