Hello guys, it has been a while since I have logged on, been away, anyway back to the question. In an earlier post I posted about how to learn how to code plugins etc. I have recently realised the first sponge API is available, which means I can start to code my dream server plugins.
I have basic coding knowledge, but I don’t know where to start, although not knowing everything on he his subject I am very dedicated to getting this completed. The plugin general idea I have is my own classes system, where the player can choose a certain class, get special traits for that class and simply fit into my project rpg server.
I have a plugin in mind, and I know it may be difficult to handle:
- It must have a simple access classes, easy for players to select their classes, preferably in a chest look alike menu.
- It must show a list of the classes special abilities/traits when the player’s mouse hovers over the icon for the class.
- I was thinking of basic classes to start, such as a warrior, an archer and possibly a Mage later on.
- It would be nice if the player is able to change with certain requirement later in the game, although this isn’t needed.
All in all the plugin must be a chest menu containing different icons which when clicked assigns the chosen class to the player, giving them the special traits the class has.
I have traits/abilities in mind such as:
- Damage increase using a sword or axe with the warrior.
- Fire arrows (not the enchantment) for the archer for the cost of 2 arrows, (basic idea)
- Cobweb arrows for the archer (when the arrow hits the floor it spawns cobwebs in a radius of 1-2) could cost 3 arrows.
- Teleport spell for the Mage, (cast it by right clicking) (change between spells by left clicking).
- Fireball spell for the Mage, (summons a fireball by right clicking where the player is facing)
This is the basic idea, I just need to know how to start, by the way I am using eclipse to code my plugins, any help would be very much appreciated
I would love to know how to start this plugin, how to make the traits, and most importantly how to organise and add a menu for the player to select their class.
Thanks a lot for the help, and great work from the developers!!!
Note: I forgot to mention, for the Mage class I would preferably like to have a mana bar, which will increase/decrease to replace the cost of the spells (colour blue) and possibly a green bar to represent energy which would act as mana for the archers, warriors and other classes. How would I go about doing this?
Danielfrogs