Survival Improvements
Survival Improvements
Introduction
This plugin adds - as the title says - improvements to MineCraft's Survival gameplay. These features include mini-bosses, gravestones and economy.
Bosses
Video:
The bosses in this plugin are encountered by breaking a spawner of their type. Currently, zombie, skeleton, (cave) spider and blaze are available. All bosses have special gear they drop on death:
- Zombie drops a sword with good enchants and a chestpiece with protection.
- Skeleton drops a bow with good enchants and a helmet with knockback resistance
- Spider drops a poisoning sword and leggings that speed you up when worn.
- Blaze drops a flaming sword and boots that increase your health.
The difficulty and enchants of the drops are dependent on the number of kills the player has made on its mob type and can be customized in the configuration file.
Gravestones
Using this plugin, when a player dies, he will instead of dropping his stuff, drop a gravestone with a countdown. The gravestone can only be destroyed by the player that dropped it or a server operator. When it is destroyed, the player will get his stuff back. There is also a countdown on the gravestone, which will automatically break the gravestone when it reaches zero.
Economy
Not fully completed yet The economy system of Survival Improvements will add the possibility to get money from killing mobs or other players. Also, you will be able to lose money upon death. Currently, the plugin does only support its own economy system. I will add more possibilities in a alter update.
Configuration
This plugin contains a 300+ lines configuration file which allows you to customize the plugin or disable complete parts of it. It contains comments explaining everything you need to know to configure the plugin. You can view the default config here: https://github.com/arfie/SurvivalImprovements/blob/master/Survival%20Improvements/config.yml
Commands
- /boss <type> <level> will spawn a boss without breaking a spawner (only for testing purposes)
- /sireload will reload the configuration files.
- /sistats <player> will view a player's stats in JSON format.
- /attribute <type> <value> <operation> <name> will add an attribute to the item in your hand. More information can be found on http://minecraft.gamepedia.com/Attribute
Permissions
- survivalimprovements.spawnbosses to use /boss
- survivalimprovements.reload to use /sireload
- survivalimprovements.stats to use /sistats
- survivalimprovements.attribute to use /attribute
Source code
The source code for this plugin can be found on GitHub: https://github.com/arfie/SurvivalImprovements
Known bugs
- Please tell me in the comments if you have found one!
Planned for next version
- Add more boss possibilities, for example randomly spawning "in the wild"
- A marketplace where players can buy and sell items from and to other players
- If you have any other ideas for this plugin, please tell me in the comments.
Please have fun using this plugin! If you have any questions, feel free to ask them in the comments section.
@Arfie99
Can't wait for this!!!
1.7.9: R01 Error, too bad...
5:39:55 PM [javastacktrace] java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R2/NBTTagCompound 5:39:55 PM [javastacktrace] at com.comphenix.example.Attributes$Attribute.<init>(Attributes.java:127) [?:?] 5:39:55 PM [javastacktrace] at com.comphenix.example.Attributes$Attribute.<init>(Attributes.java:126) [?:?] 5:39:55 PM [javastacktrace] at com.comphenix.example.Attributes$Attribute$Builder.build(Attributes.java:224) [?:?] 5:39:55 PM [javastacktrace] at nl.arfie.bukkit.survivalimprovements.Config.<clinit>(Config.java:187) [?:?] 5:39:55 PM [javastacktrace] at nl.arfie.bukkit.survivalimprovements.SurvivalImprovements.onEnable(SurvivalImprovements.java:25) [?:?] 5:39:55 PM [javastacktrace] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:446) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:380) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R2.NBTTagCompound 5:39:56 PM [javastacktrace] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 5:39:56 PM [javastacktrace] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_67] 5:39:56 PM [javastacktrace] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_67]
@seanschilling
Hi, I'm sorry I didn't release an update in a very long time. I have just finished this year's finals, so I will have more time to work on stuff for a few months. I'm currently doing a complete rewrite of this plugin, to fix some mistakes I made, and make it easier for me to implement new ideas I had.
Sorry to keep asking, but is this plugin still going to be updated for 1.7.9? Setting up a new factions server and would love to implement it.
@seanschilling
I hope to release it tonight (at about 21:00 CEST). I will implement my new plugin AttributesAPI to make it work with multiple versions.
Any word on the update?
@seanschilling
Thanks you like the plugin! 1.7.9 will unfortunately have to wait a few days, because I will need to convert all player names to UUID's.
Hey could you please update this so it works for 1.7.9? Really like to have this back on my server.
@seanschilling
Can you please post the entire error in a reply to this comment?
@Arfie99
Thanks for the explanation and the fix. There is still this little warning you may want to look at:
Other than that, it appears to be working now =P
@kymotsujason
You are probably using a 1.7.5 server, this is not supported by version 1.0 of my plugin. I have already uploaded two separate versions 1.0.1, one for 1.7.2 and one for 1.7.5. The files haven't been approved yet, so you will have to wait a bit to use them. The reason this error appears, is that the package name of the Minecraft source in 1.7.5 is different than the one in 1.7.2, and ComPhenix's Attributes API needs classes from the source. You could also downgrade your server, but that may not work well with other plugins.
EDIT: files have been approved :)
I'm getting an error while trying to load it using Spigot #1363