[REQUEST] - Gamemode Bypass

Discussion in 'Archived: Plugin Requests' started by willowen100, Sep 10, 2013.

  1. Offline

    willowen100

    Plugin category: Admin tools/general

    Suggested name: Gamemode Bypass

    What I want: I would like to be able to force a gamemode for specific groups, in specific worlds that is different to the gamemode that is being set by the server or Multiverse etc, but if the user would like to override the gamemode they can using command line whilst in game, however will get changed the next time they change world, login or respawn etc.

    For example, the staff members of a server all have creative mode on all the worlds except for the Survival Games and The Walls, where their gamemode would get changed/forced to survival as soon as they enter these two worlds. However, the actual server overall is setup for survival so when staff are not in either of the Survival Games and The Walls worlds, and are in the other worlds such as the nether, End, Creative and the Survival worlds, then they will be going along with the gamemode bypass permission node, so that they can run different gamemodes than what the server is set to.

    However, I would like to have a friendly gamemode force permission node that changes the gamemode for the group in the permission, but still allowing for the gamemode mode to be overridden by the user from the command line in game, and I would also like a force gamemode in which they CANNOT override the gamemode, which in the above examples case would be Survival Games and The Walls. In addition to this I would an exempt node that bypasses the ‘locked/forced gamemode which can't be overridden’ unless you have this exempt node, which would be used for owners/ops of the server. Please see permissions below for examples.

    Ideas for commands: no commands needed for this plugin as it will be all permission node based, and there many other ways of changing gamemodes in Bukkit.

    Ideas for permissions:
    gmb.creative.city - (friendly forced gamemode set to creative on the city world)​
    gmb.creative.end - (friendly forced gamemode set to creative on the end world)​
    gmb.creative.nether - (friendly forced gamemode set to creative on the nether world)​
    gmb.survival.the_walls - (friendly forced gamemode set to survival on the the_walls world)​
    gmb.force.survival.the_walls - (brute forced (can’t be overridden) gamemode set to survival on the the_walls world)​
    gmb.creative.* - (friendly forced gamemode set to creative on all worlds) [The two worlds above won’t be affected by the ‘*’ set on all worlds here, as Java has seen them permissions first and will ignore the ‘*’ on them two worlds]
    gmb.force.survival.survival_games - (forces gamemode to survival for the survival_games world)​
    gmb.force.survival.the_walls - (forces gamemode to survival for the the_walls world)​
    gmb.override.* - (bypass all friendly and brutally forced gamemodes on all worlds)​
    gmb.override.survival_games - (bypass friendly and brutally forced gamemode on survival games world)​
    WorldGuard Region Support (These permissions will on;y be affected by staff, as non-staff members will be in survival mode all the time, so region gamemode changes won't occur).
    gmb.region.dungeon.enter.force.survival - (forces survival gamemode on enter for the dungeon) [This is because any member on the server must be in survival mode to make the game-play fair, and true to what the dungeon creator intended (which is in survival mode) and even if their a staff member with a bypass gamemode of creative they will be forced to survival]
    gmb.region.dungeon.exit.creative - (changes from survival gamemode to creative on exit for the dungeon, however can be changed to whatever the staff user wants, as it wasn't forced)​

    Ideas for messages:
    Your gamemode has be forced to … and cannot be overridden!​
    Your gamemode has been changed to … and can be overridden at any time.​

    Note:- I would like to be able to use ‘*’ so that you can set a gamemode on all worlds, and then ignore either friendly or forced gamemodes for the worlds that you don’t want to be affected which can be done by how your order the permissions (Java reads from top-bottom). See second section of permissions.

    In addition to all of this I have also came up with another idea that fits very well with the gamemodes etc, and that is to have a friendly and forced gamemode on entry and exit of WorldGuard regions, as currently on my server, the Multiverse bypass permission which is extremely useful is obviously bypassing WorldGuard gamemode changes too. See last section of permissions above for examples.

    When I'd like it by: ASAP
     
  2. Offline

    willowen100

Share This Page