PixelmonGym

When opening a Gym

PixelmonGyms

Updating from v1.9 - v1.11 changes the plugin name from PixelGym to PixelmonGym, therefore creating a new folder with the default config in as the active one. Simply copy the contents of your PixelGym>Config.yml file to PixelmonGym>Config.yml and all will be good.

http://gyazo.com/6fc8693e40e4a6e104c4e4ca2800e44c.png

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!!

Features:

  • 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.

Configuration

v1.8.1 Configuration:

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

Commands:

  • /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)

Permissions

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

Pictures:

http://gyazo.com/6fc8693e40e4a6e104c4e4ca2800e44c.png

http://gyazo.com/1fc403a7c71d193a2a5d5a70b661cbae.png

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.

http://gyazo.com/8e275b489c7d31cdd24a7465cd94e6c5.png

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

http://gyazo.com/a9a6ba111ad7cf9fe2b867ca1bb102b3.png

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

http://gyazo.com/7859e3cef0b2f3dfafc996e1acd47c36.png

The /gym. ^

http://gyazo.com/e1ed47e585b9e3c6359efc786af3fb99.png

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

Solution

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

Etc...

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 hellobgbg hellobgbg Sep 29, 2014 at 23:21 UTC - 0 likes

    why not make it so you can choose a Gym Leader instead of a Permission

  • Avatar of theory18 theory18 Sep 01, 2014 at 23:47 UTC - 0 likes

    Another request if possible.

    1. A feature for Elite4 & Champion(like in the games)

    2. Make it so people who are OP'ed don't show up as rockgymleader coming online.

    3. Reverse Scoreboard currently the last gym is listed first and visa versa.(old request)

    Thanks in advance.

  • Avatar of ChrisCole42 ChrisCole42 Sep 01, 2014 at 14:06 UTC - 0 likes

    for some reason, whenever we change the config manually, if we restart the server it goes back to whatever it was vefore we changed it. Is this meant to happen? If so, is there another way to set all of the gyms up without doing around 100 commands?

  • Avatar of paleym paleym Aug 05, 2014 at 00:44 UTC - 0 likes

    Sorry if this is a repeat, but I help run Justiscraft, and we are using Pixelgym. I love the plugin, it makes our lives easier with players being able to see who is a leader / what gyms are open. I have two requests for future versions:

    1. Bit more support for leaders who do more than one gym: when i set players to more than one gym, only one shows up in /gym leaders. Personally I would love to see it as a list of gyms, listing out who is a leader for that gym, which would mean a leader would be listed twice if they run two gyms.

    2. Fix for when players have more than one gym in the log-in message. currently in /gym leaders it shows a leaders' highest gym, but when they log in, it shows the lowest gym they run.

    Thanks for this AWESOME plugin! Pale - JC Admin

  • Avatar of theory18 theory18 Aug 01, 2014 at 00:27 UTC - 0 likes

    I would also like to ask if it wouls be possible to add a feature where the current gymleader closes the gym automaticly when they log out.

    My gymleaders tend to forget that alot lol. If possible offcourse.

  • Avatar of theory18 theory18 Jul 28, 2014 at 15:37 UTC - 0 likes

    @kayc01: Go

    That would be great thanks :).

    Here's an example of how it looks for me.

    I think so yes, when i do /gym list it shows them in the correct order.

  • Avatar of kayc01 kayc01 Jul 28, 2014 at 09:54 UTC - 0 likes

    @theory18: Go

    Yes yes, i can fix it when i get time. :) However you cannot. lol

    I will find time today, but it will take a few days for it to be approved by bukkit. Is it just the Scoreboard which is the wrong way round?

    My Plugins:
    PixelGym: http://dev.bukkit.org/bukkit-plugins/pixelmongym/
    - Pixelmon Gym Broadcast messages when a gym is Open/Closed.
    - Check what Gym leaders are online and what Gym they are leader of.

    - MCProHosting Staff
    - Former Pixelmon Dev Member

  • Avatar of theory18 theory18 Jul 27, 2014 at 19:04 UTC - 0 likes

    @kayc01: Go

    But earlier you said 'It should be in the correct order to begin with, but i can defo change that around if it is not.' So could you please?

  • Avatar of kayc01 kayc01 Jul 27, 2014 at 17:13 UTC - 0 likes

    @theory18: Go

    There is not a way you can fix it, no.

  • Avatar of theory18 theory18 Jul 27, 2014 at 16:34 UTC - 0 likes

    @kayc01: Go

    It's in reverse order on my server, the last gym(8) is on top of the list on the open gyms, and the first gym(1) is on the bottom. Is there a way i can fix that please? It causes alot of confusion.

What should I change on the plugin?

  1. Choice:

  1. Results
  2. 2 comments

Facts

Date created
Feb 21, 2014
Categories
Last update
Jul 17, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
PixelmonGym
Downloads
6,184
Recent files

Authors