Survival Classes
Survival Classes
Information
Survival Classes is a plugin I developed to add a new element to survival (or faction/minigame) servers. This plugin adds classes based on the armor that you are wearing. These effects are given on a timer that runs every 5 seconds. This should not cause any lag (I've tested it and noticed no extra RAM usage) You will see a bunch of small star particles if you have equipped the class correctly. Newest version adds Per-World Support in the config, also fixes various bugs, and coded more efficiently. This new version is made with the spigot server but should still work with CraftBukkit.
Here is a basic informational video of the Survival Classes plugin in its current update made by TheCraftKing. Please subscribe to his channel for more plugin tutorials and other cool videos.
Pyro does in fact work with any sword it's just a 50% chance. Diamond kit is fixed in the 2.1.1 update. The Ender kit will literally shoot an enderpearl exactly where you are pointing, even at 100 blocks away if the chunk is loaded.
Wardrobe
- There is now a /wardrobe command which opens a menu where you can equip whichever class you would like just by clicking the button.
- Permission: classes.wardrobe
Classes
Currently there are 17 classes:
- Ranger
- Miner
- Assassin
- Adventurer
- Marine Soldier
- Knight
- Mage
- Thor
- Pyro
- Spirit
- Farmer
- Necromancer
- Reaper
- Scorpion
- Ender
- Sniper
- Construct
Default permission is OP.
Ranger
The ranger is used by equipping full leather armor, it gives the player raised damage with bows and makes them move faster.
- Permanent Speed 1.
- Bows do 2 extra damage.
- Permission: classes.leather
Miner
The miner is used by equipping full iron armor, it allows players to mine quicker and see in caves without the use of torches.
- Permanent Haste 2.
- Permanent Night Vision.
- Permission: classes.iron
Assassin
The assassin is used by equipping full chainmail armor, it makes the player invisible but makes them weaker.
- Permanent Invisibility.
- Permanent Weakness 1.
- Permission: classes.chainmail
Adventurer
The adventurer is used by equipping full gold armor, it gives you more health and stops your hunger from going down.
- Permanent 8 health bonus.
- Permanent Saturation.
- Permission: classes.gold
Marine Soldier
The marine soldier is used by equipping full diamond armor, it makes you break blocks slower but you can breathe underwater.
- Permanent Water Breathing.
- Permanent Slow Digging 1.
- Permission: classes.diamond
Knight
The knight is used by equipping 2 pieces of iron and 2 pieces of chainmail, (Signifying platemail armor) you take less damage but hit slower.
- Permanent Damage Resistance 1
- Permanent Slow Digging 1
- Permission: classes.iron.knight
Mage
The mage is used by equipping full Rose Red leather armor, when you are a mage you can shoot fireballs with your staff!
- Right click blaze rod in your hand to shoot a fireball, takes 3 fire charges from your inventory.
- Mage gets speed 1 buff from leather armor.
- Permission: classes.leather.mage
Thor
The thor is used by equipping full Dandelion Yellow leather armor. when you are thor you deal 1 bonus damage with axes and strike opponents with lightning!
- Hitting enemies with axes deal 1 bonus damage and strike enemy with lightning.
- Thor gets speed 1 buff from leather armor.
- Permission: classes.leather.thor
Spirit
You are the spirit! Equip full White leather armor and soar through the air.
- Speed 1
- Right click with any sword while on the ground to fly in the direction your facing! This works as long as there is a block at least 2 below you.
- Permission: classes.leather.spirit
Pyro
You are the flame! Equip full Orange armor to light enemies on fire!
- Speed 1
- You have a 50% chance to light anyone you hit with a sword on fire.
- Permission: classes.leather.pyro
Reaper
You are death! Hit enemies with your scythe to decay their life away. Equip Black leather armor.
- Speed 1
- Iron hoes inflict Wither 3 for 2 seconds.
- Permission: classes.leather.reaper
Farmer
Ever felt like growing crops faster? Ever wanted to grow trees insanely fast? Try Lime Green leather armor with some Fertilizer!
- Speed 1
- Lime Green dye (fertilizer) grows crops by 4 stages. (That's 2 fertilizer to completely grow any crop.)
- Fertilizer grows trees instantly.
- Fertilizer turns dirt into grass.
- Ink Sacs (nether fertilizer) grow nether wart instantly.
- Nether fertilizer turns dirt into mycelium.
- Permission: classes.leather.farmer
Necromancer
Spawn the reapers horse. Light Gray armor somehow lets you summon undead steeds.
- Speed 1
- Right click with 16 bones to summon a ride-able Skeleton Horse.
- Right click with 32 rotten flesh to summon a ride-able Zombie Horse. (You need a minimum of 33 in your inventory because of a Bukkit bug D:)
- Permission: classes.leather.necromancer
Scorpion
You are the venom! Use your stinger to poison enemies. Equip full Cactus Green leather armor.
- Speed 1
- Hitting someone with the hook of a fishing rod gives them poison 2 for 2 and a half seconds.
- Permission: classes.leather.scorpion
Ender
Ever wanted to instantly teleport far away? Equip full Magenta leather armor.
- Speed 1
- Right click with gold hoe to shoot an enderpearl at high speed. Takes 4 ender pearls. Looks a little strange but teleports you to the right spot.
- Permission: classes.leather.ender
Sniper
Think you're a good bowman? Well maybe this is the class for you! Full Gray leather armor.
- Speed 1
- Bonus bow damage depending on how far away you are, further away equals more damage.
- Permission: classes.leather.sniper
Construct
You are animated by magic making you invulnerable to poison, drowning, suffocation, and starvation.
- Special diamond armor made from emeralds instead of diamonds.
- No damage from poison, drowning, suffocation, or starvation.
- Permission: classes.diamond.construct
Want to try it out?
Want to try out this awesome plugin before you add it to your server? You can see all kinds of ways to use this plugin including Minigame classes or just plain survival.
- Check out our website at: pandorramc.net
- Check out our server at: play.pandorramc.net
Future Updates
- More classes.
- Config for customization.
- More particles effects.
Partnership
I'm currently looking for servers willing to help me advertise my plugin and help me test new features on bigger servers, in return you will get updates faster and more input on new updates, you will also get publicity for your server on this plugin page. Please send me a PM here on Bukkit if you are interested!
JServer (Minecraft 1.8) is now using Survival Classes. If you want to try the plugin join their towny/factions server at: 198.24.181.2:39160
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
@doitliketyler
Ya sure, Ill add that stuff when I get a chance, should be an update within a couple of weeks.
I love this plugin but the one thing that would be a nice addition would be to customize the GUI with custom blocks and named items. If anything at least have it named after what class it is and the matching helmet in that wardrobe set so it makes sense.
I run the Towny Server on DestinMC, I'm currently running your plugin.
@Wilbo1234
Im glad you like it! Still havent figured out why it causes this error the first time, it has to do with the config not being fully created when it starts up the plugin.
Sorry it took a while for me to get back to you,
The restart did the trick
Great plugin by the way and well balanced classes, nothing too OP
Thanks for the help, players love it.
@Wilbo1234
I will look into this error, but I think if you restart the server with Survival Classes once its given you this error it will work properly.
Any chance of a 1.8.3 Update !
My sever host is still running Java 7 if that's any help.
<sub>[19:43:33] [Server thread/ERROR]: Error occurred while enabling SurvivalClasses v2.4 (Is it up to date?) java.lang.NullPointerException at java.util.ArrayList.addAll(ArrayList.java:559) [?:1.7.0_71] at me.hobot.Classes.Main.onEnable(Main.java:70) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [minecraft_server.jar:git-Spigot-6ee12f6-33d5de3] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71]</sub>
@worthless_hobo
You need more rest! When you make a new RPG plug-in, I am the first time to support you and give you advice. :D
@WolfChan
Well there are some weapons elements, like the Mage class and Scorpion, however I wanted to make a plugin that everything was obtainable with just normal vanilla, that means no new items or adding anything like that to the game. These are all pretty simple to get because they are just normal armor, but if someone would like to make a weapons plugin that goes with this then they are welcome to. I am however working on an RPG plugin that has completely upgradable gear, including armor and weapons. Unfortunately I dont have much time to work on it because Im working 12 and a half hours a day, but when I finish it it will be released on Spigot.
Pretty good! I like your faction plugin! :D Why not add some weapons element inside :3
Version 2.4 Now released. Fixed several things and added per world support in the config.
@worthless_hobo
New version out! Now use /wardrobe to equip any set of colored armor easily. :D
@thatguywhohatesyou
Glad to know you're enjoying it! Thanks for the compliment. I'm currently working on adding a GUI that gives admins the specified armor color, this will allow them to easily get any color of leather armor without needing to dye it all the time! It's scheduled to be finished sometime next week (I've got other coding projects that I need to finish first)
Good job! I've been really liking this plugin.
Correction on my last comment, Update will be coming soon to fix a bug I just learned about >.> and Ill probably add a config while Im at it.
EDIT: Bug Fixed, missed a bracket.
@mtdutch
Thanks for the compliment! I appreciate it, and while the next update may be a little while, I will be continuing this as I learn how to do more things with Bukkit coding and will always attempt to make this as efficient and lag free as possible!
I updated the plugin tutorial!
https://www.youtube.com/watch?v=PUygMedF9_4&list=UU2_lONhzeqscYLPcRS2g2Aw
Hello !
You did great work on this, I would use it on my servers if I didn't already have too many plugins installed (;
But I'll watch this develop, maybe later.
And yes, particle effects would be nice, but don't forget an option in the config to turn it on or off so both partys can be happy with the update and not fair for their players complaining about lag.
@Dillzzzzz
Thanks! I appreciate the compliment, if you have any suggestions, please feel free to suggest stuff to add or change.
Pretty cool! I like how some classes have a disadvantage to balance out.