ForceGameMode

ForceGameMode

What is it?

ForceGameMode Allows you to force a gamemode Upon your layers using either permissions or a command. Commands like /gamemode will not work for a player that has been put into a forced gamemode.



Features

  • Forcing Players into a Gamemode
  • Forcing ALL Players into a Gamemode
  • Run a Configurable Command on Player Join

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) or (c, s, a) or (creative, survival, adventure) 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.admin: This will allow access to all of the commands.


Upcoming Features

  • Suggestions?

Thank you guys for 400+ downloads!


Other Plugins by Me: JoinMessage, WordBlackList, GrayList

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of aperturegaming51 aperturegaming51 Apr 29, 2014 at 23:47 UTC - 0 likes

    can this force a specific world to be on a gamemode?

    if not can you direct me to a plugin that does?

  • Avatar of ThaPengwin ThaPengwin Sep 25, 2013 at 15:58 UTC - 0 likes

    @Ugpzt: Go

    Negate the node for the inheriting group.

    Developing custom plugins (of any size) - send me a PM!

    Website | Twitter | GitHub

    Can I has internets? <- clicky pls, i want to take over teh interwebs

  • Avatar of therennon therennon Sep 18, 2013 at 17:23 UTC - 0 likes

    @tacticalsk8er: Go

    Please yes ;)

  • Avatar of coverth coverth May 02, 2013 at 18:05 UTC - 0 likes

    Tacticalsk8er PLEASE READ.

    Currently you have it so that this happens:

    If Group = x then GameMode = forcedGameMode

    Would it be possible to reverse it and have it so that this happens:

    If GameMode = x, Group = ForcedGroup

    I'd like it if when you change GameMode to Creative you get the CreativeGroup Permissions And when you change GameMode to Survival you get the SurvivalGroup Permissions

    This would mean that on my server a admin could make a guest Gamemode Creative and so they get set to the CreativeGroup and have access to things like World edit permissions, then if they Change Gamemode to Survival to test things they then get put back into the Guest or SurvivalGroup with the lack of World edit permissions

    Possibly run a check function when a player changes GameMode

    Get PlayerGM;
    Get PlayerGroup;
    
    If PlayerGM = Creative
     and PlayerGroup != Creative
      Set PlayerGroup = Creative
    
    Else if PlayerGM = Survival
     and PlayerGroup != Survival
      Set PlayerGroup = Survival
    
    Last edited May 02, 2013 by coverth
  • Avatar of tacticalsk8er tacticalsk8er Feb 05, 2013 at 08:06 UTC - 2 likes

    Will be updating this plugin shortly. Probably a complete rewrite.

  • Avatar of Ugpzt Ugpzt Jan 16, 2013 at 14:37 UTC - 0 likes

    Hmm...how would this work for permission system with inheritance?

    eg.:

    default: 
      forcegamemode.gamemode.survival
    user:
      forcegamemode.gamemode.creative
    

    where [user] inherits [default]'s permissions.

    Last edited Jan 16, 2013 by Ugpzt
  • Avatar of Aug88 Aug88 Dec 29, 2012 at 22:26 UTC - 0 likes

    love the plugin, altho when i forcegamemode on someone and hit enter notihn happends

  • Avatar of Squad9 Squad9 Dec 04, 2012 at 10:44 UTC - 0 likes

    Testet with Tekkit 3.1.3 (using CB 1.2.5). Works great! Realy cool plugin to make sure mods are not giving out creative to friends. :)

    Our server:

    minecraft.papolapo.com

  • Avatar of Jahb57 Jahb57 Nov 26, 2012 at 07:49 UTC - 0 likes

    There seems to be a delay with the gamemode change could you make it instant?

    CV Banner

  • Avatar of tacticalsk8er tacticalsk8er Aug 19, 2012 at 21:01 UTC - 0 likes

    @spote1990: Go

    Well I can't do that for just one player because I would have to change the difficultly for the whole server

Facts

Date created
Aug 13, 2012
Categories
Last update
Aug 18, 2012
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
ForceGameMode
Downloads
3,225
Recent files

Authors