When opening a Gym


I have updated the PixelGym plugin to 1.8.3. No new features yet but here u go: http://www.spigotmc.org/resources/pixelgym-pixelmon-server-gym-management.6252/


What is this plugin?

This plugin enables you to set Gym Leaders on your server that are given a certain node to notify other players when the Certain Gym types are Open/Closed. It also enables Challenger's of the Gym to find out which gym leaders are online and what gym they are leader of.

I coded this plugin to be as customisable and helpful for gym challengers as possible. Using the /gym list, Gym Challengers can Easily see what gym's are open and what the level cap of that gym is so they are not asking for ages in chat whilst the Gym leaders are busy. The plugin also enables Gym Challengers to know exactly which gym leaders are online so they know who to contact. This plugin stops your server Trainers getting pissed off with not knowing wether the gym is open or not. If they don't see the chat, not a problem... The Scoreboard makes it so challengers can see the open gym's to the right of there screen, useful for if they join the game after a broadcast or don't know any of the /gym commands. If they don't want the scoreboard there, also fine.. They can do /gym scoreboard to toggle it! The plugin is heavily designed to stop unwanted chat spam of People saying "Is a rock gym leader online? Can he open the gym please???!" Trust me, I have herd it all.

Not only does the plugin make everybody happy, it is crazy customisable. You can change almost everything you need, with a few minor flaws. You can customise the Broadcast Prefix from the default "[PixelmonGym]" to anything you want. You can change names of all the 8 Gyms, change the colour of the broadcast message for each gym using colour codes, add 5 Gym rules per gym in the config, Set the level cap for the each gym and if that is not enough, then now you can close all gym's with one command. Not to mention Gym leader Join messages! Check down below for more details!

Additional features:

  • Can set gym warp/teleport locations

If this has not put you off getting my plugin then great!! All feedback is wanted and don't forget to answer the polls at the side! For future developments.

Optional Dependancies!! - Updating from v1.9 - v1.11 includes a feature for the Pixelmon Mod, it is not needed but works well with it (Gym leaders healing there pokemon only)!!

Thanks for reaching almost 4,000 Downloads!! Its a big achievement for my first plugin!!


  • All Gym Leaders can broadcast when there Gym is Open/Closed
  • Gym Leaders have Unique Gyms that they are set to Open/Close and put on Hold
  • All Gym Leaders have Specific Permission Nodes
  • Challengers can see what Gym Leaders are on right now, and what Gym they are Leader of with one command.
  • Challengers can also see all Gyms that are Open/Closed with one command
  • Multi-Type Gym Leader support
  • Configurable Broadcast message Prefix
  • Configurable Gym Names
  • Changeable Per Gym Broadcast colours
  • Configurable 5 Rules Per Gym that are sent to the player doing /gym rules <gym#>
  • When gym leaders Log in, everyone get's notified what gym they are leader of and what there IGN is. (v1.8.1) ("[PixelmonGym] A Rock Gym Leader has come online! (player)")
  • All Open Gyms get put in the gym scoreboard on the right hand of the screen
  • Ability to close all Gym's with one command
  • All Player Join Messages "[PixelmonGym] <Player> Joined the game"
  • Ability to enable & disable any gym
  • Supports up to 32 Gym's
  • Ability for gym leaders to heal their pixlemon.
  • Gym Teleport locations can be set.


v1.8.1 Configuration:

To see a quick Guide on the Config, go here: http://dev.bukkit.org/bukkit-plugins/pixelmongym/pages/configuration/


  • /gym - Shows all the available Commands.
  • /gym open <gym#> - Opens the chosen Gym (Changes to /gym open <gym#> in v1.4)
  • /gym list - Lists all the current Gyms, and which of them are Open/Closed
  • /gym close <gym#> - Closes the choses Gym (Changes to /gym close <gym#> in v1.4)
  • /gym closeall - Closes all Gym's
  • /gym leaders - Lists all the current online Gym Leaders and what Gym they are Leader of
  • /gym heal - Heals the gym leaders pixelmon {comes with pixelgym.leader permission}
  • /gym reload - Reloads Config
  • /gym rules <gym#> - Lists 5 rules of the chosen Gym.
  • /gym scoreboard - Toggle's the scoreboard for each player
  • /gymtp <tp name> - Teleport to gym location
  • /setgymtp <gym name> - Sets the current standing/looking location of a gym teleport. (Example: /setgymtp Fire)


How the Permissions work: (v1.4 and Above)

All Gym leaders must have 'pixelgym.leader' to open gym's However they cant open any gym without a 'pixelgym.gym#' node. In v1.4 the permissions change from 'pixelgym.rock', 'pixelgym.water' to 'pixelgym.gym1', 'pixelgym.gym2', ect... So it is vital you set the names in the Config that you want. The default gym's that were the v 1.3 permission nodes are now just the default gym types in the config that you can easily change. The plugin is highly dependent on the config. All gym names are set in the config, gym rules and broadcast colours. So whatever you have: gym1: 'GymType' Set to, will show in game if they have the permission node 'pixelgym.gym1' Make sure you read the config here:

Permission Nodes: (v1.4 and Above)

  • - pixelgym.leader - Sets a player to a Gym Leader therefore enabling /gym <open/close> <gym> & Enables them to heal there own pokemon.
  • - pixelgym.reload - Allows the usage of /gym reload
  • - pixelgym.gymtp - Allows the user to teleport to the gym
  • - pixelgym.settp - Allows the user to set the gym tp location.
  • - pixelgym.gym1 - Sets the Gym Leader to a gym1 gym leader (In broadcasts and chat, whatever gym name is set for gym1 in the config, they are the leader of)
  • - pixelgym.gym2 - Sets the Gym Leader to a gym2 gym leader.
  • - pixelgym.gym3 - Sets the Gym Leader to a gym3 gym leader.
  • - pixelgym.gym4 - Sets the Gym Leader to a gym4 gym leader.
  • - pixelgym.gym5 - Sets the Gym Leader to a gym5 gym leader.
  • - pixelgym.gym6 - Sets the Gym Leader to a gym6 gym leader.
  • - pixelgym.gym7 - Sets the Gym Leader to a gym7 gym leader.
  • - pixelgym.gym8 - Sets the Gym Leader to a gym8 gym leader
  • Ect.. (up to - pixelgym.gym32)
  • - pixelgym.admin - Gives access to /gym closeall and future admin commands




As you can see above, the command the Ground Gym is Yellow because it is what fits Yellow the best. ^ Fire is Red, Water is Blue, Ect... All Gym Opening Broadcasts have 'Open' in green, 'Close' in red and 'Hold' in Gold.


The Gym's are either Open, Closed or On Hold. Defaults to Closed. ^


Gym Leaders are displayed with there corresponding Colour codes at default for ease of reading. However you can change them to anything ^


The /gym. ^


Gym Leader Joining the server ^

Video Tutorial's

V1.9 (Latest Verson)

V1.3/1.4 (Outdated)

Change Log

v1.3 (PixelGym21CTest.jar):

  • Finished Adding gyms default to closed. (was null)
  • Gyms when changed in Config now also show in /gym list (Before they stayed the same)
  • Gym names get changed in /gym leaders to what you have it set as in the config
  • Customisable colour broadcasts (per gym)

v1.4 (PixelGymv1.4.2.jar):

  • New Command/Permision Node System (from /gym open rock - /gym open gym1) (from pixelgym.rock - pixelgym.gym1)
  • Added new command: /gym rules <gym#> to display 5 configurable Gym rules per gym.
  • Fixed /gym leaders adding all gym leaders to Multi-Type

v1.6.6 (PixelGymv1.6.6.jar):

  • Added /gym closeall to close all gym's
  • Added User join messages + Gym Leader Join messages
  • Added Scoreboard displaying all Open Gym's.

v1.8.1 (PixelGymv1.8.1.jar):

  • Added /gym closeall to close all gym's
  • Added User join messages + Gym Leader Join messages
  • Removed Scoreboard displaying all Open Gym's.
  • Removed /gym scoreboard to toggle score board

v1.8.5 (PixelGymv1.8.5.jar):

  • Fixed a typo in Player join messages, so much that I have removed player join messages... Now just Leader join messages
  • Added back ScoreBoard Feature.
  • Added back /gym scoreboard
  • Added level cap defined in Config showing next to gym names in /gym list

v1.9 (PixelGym1.9.jar):

  • Added support of up to 32 Gym's.
  • Removed Badges from Config
  • Removed /gym hold <gym#>
  • Added Enabling and De-enabling Gym's

v1.10 (Pixelgym.1.20.jar):

  • Added ability to heal pixelmon (from the mod) Pixelmon is not needed, however the plugin is designed for the mod. It now includes a feature to support the mod but the rest works without it. And 99% if not 100% of downloads for this plugin are for Pixelmon Modded Servers using MCPC+.

Known Problems

  • Only up to 15 Gym's can be displayed on the Scoreboard at once. ( I can not help this, this is Mojang's problem) :P

No Solution

  • Op's showing as a gym leader


If a player is OP. Then they have all permission nodes on the server, meaning they have all permission nodes for this plugin and will then show up as the first gym leader. So all op's get the "A <Gym Name> Leader as come online (player)" unless you give them a negative node in your permissions system.

For GroupManager it is:

- - pixelgym.gym1

- - pixelgym.gym2


What i plan to add in the future

  • Custom Broadcast messages

If you have any feedback please let me know in the comments!

Feature Server's!

If you want your server here, let me know! (Must have the plugin actively being used)

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

  • Avatar of Velosthemage Velosthemage May 25, 2014 at 19:41 UTC - 0 likes

    Hello an issue is that, if you have a minimap on your server and have more then around 6 gyms open it overlaps with the minimap so you cant read it properly. I think you need to lower the scoreboard position.

  • Avatar of kayc01 kayc01 May 24, 2014 at 09:16 UTC - 0 likes

    @CraftyCore: Go

    That sounds like a good alternative yes. Ill look into that after this weekend.

    @BUDDERMAN88228: Go

    I do not plan to give out the Source. That just enables people to possibly steal the plugin in my opinion. However, if you have experience and want to add things to it. You can PM with what you want to add and what experience you have.


  • Avatar of BUDDERMAN88228 BUDDERMAN88228 May 24, 2014 at 01:24 UTC - 0 likes


  • Avatar of CraftyCore CraftyCore May 23, 2014 at 21:52 UTC - 0 likes

    Great plugin, just have on suggestion, could you make it so if you can be able to put the command in a command block it will work.

    Like if you were opening a gym you put /gym open gym7 in command block put a lever next to it and it will open the gym and same for closing.

    i think it would be a good addition to this plugin!


  • Avatar of TheDoot TheDoot May 21, 2014 at 21:33 UTC - 0 likes

    @kayc01: Go

    Thanks for your reply and time. I see your point but I also feel it wouldn't be a waste of time, (if you are willing to give it) because pixelmon is running on 1.6.4 and is trying to go to 1.7 but it will not hit 1.8 for a long long time. So IDs will be used for a long time with pixelmon :) Let me know :)

     photo utopia_gif_banner_2_zps6742d126.gif
  • Avatar of wrathmaker123 wrathmaker123 May 20, 2014 at 15:16 UTC - 0 likes

    @kayc01: Go

    alright glad you could help, thanks a lot! its not that big of a pain as it solves my problem :P I only have 14 gyms anyway!

  • Avatar of kayc01 kayc01 May 20, 2014 at 06:09 UTC - 0 likes

    @wrathmaker123: Go

    Yes, for all the enabled gym's. If you have all 32 gym's enabled it can be quite annoying but its just how it works when you have - "*".

    @TheDoot: Go

    I have looked into this and i can not seem to get it to work yet. Because as a modded item i would use the item ID. But in 1.8, item ID's are going out the window. Or even earlier than 1.8.. i can't remember so there is no point doing all that when i would have to change it all, not too long down the line.

    It also currently gives me an error because it is being removed soon so it is not recommended to use ID's yet it is the only way i know of so far for coding with items in minecraft into a bukkit plugin..

    With that said, i do want that so i will look at it again. I have just been doing other things :)

    Last edited May 20, 2014 by kayc01
  • Avatar of TheDoot TheDoot May 20, 2014 at 03:23 UTC - 0 likes

    Hello, do you think it's possible to incorporate a permission node to assign the gym leader so they can give their badge to the winner? Kind of like the other plugin pixelmon gym management. I like yours better but I would like the leader to be able to use a command like /gym badge add <player name> /gym badge remove <player name> with there gym type badge. Thanks in advance if you can develop something :)

  • Avatar of wrathmaker123 wrathmaker123 May 19, 2014 at 22:11 UTC - 0 likes

    @kayc01: Go

    okay so for myself though (im owner) i need to do all the negative nodes for it not to show up when i join? or just for the 1st one

  • Avatar of kayc01 kayc01 May 19, 2014 at 05:53 UTC - 0 likes

    @wrathmaker123: Go

    No if the group/player is not OP then they don't need negative nodes. It will be just something you are doing wrong as it works for everyone else.

    Make sure in the groups.yml they don't have - "*" in there group. That means they have every permission.

What should I change on the plugin?

  1. Choice:

  1. Results
  2. 2 comments


Date created
Feb 21, 2014
Last update
Jul 17, 2014
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Recent files