Character_Stats
Character Stats
Players collect vanilla exp. orbs, which adds to their plugin experience points. Players can level up with the experience in their ExpBank. Each level up unlocks upgrade points that can be used to improve various stat modifiers.
The stat modifiers are:
- Health - Each level adds one half-heart to the players max-health.
- Defense - Each level lessens the damage taken by the player.
- Melee - Each level increases the damage done by the player, with hand-held weapons.
- Ranged - Each level increases the damage dealt by the player's arrows.
- Speed - Each level increases the movement speed of the player, with Jump Boost I & II at certain levels.
- Healing - Each level increases the efficacy of the player's MedKit use, both personally and on other players.
Players can view their progress with /cstats and access the upgrade screen with /levelstats - at any point, players can exchange their plugin experience for a fractional amount of vanilla experience, which is particularly useful once the player has reached the maximum plugin level. The MedKit item can be set in the config.yml - please use material enum names from here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html - to use the MedKit on self, simply right click while holding it, to use it on another player, crouch-right click on them. The MedKit has a hardcoded, shapeless recipe: 1 Poppy, 1 Wool, 1 Flint, 1 Magma Cream - players with the permission "cstats.admin" can use the command /cstats medkit <#> to receive that amount of the item.
The following can be set in the config.yml file:
- Max character level.
- Amount of XP per orb.
- Scale of XP required to level up.
- Number of upgrades earned per character level-up.
- Max stat level.
- Item used as MedKit.
- Please note that although the stat levels are configurable, the equations used in the plugin were originally planned around a value of 20. Anything below 20 should work fine but there might be issues if you go too far above, especially with Speed (including a glitch that stops block rendering/movement altogether which requires a client restart).
This description is for v2.1b - currently awaiting approval as of the time of writing.
I ran into abit of trouble and I hope you can help me get this working, below is the error I got.
13.12 13:50:05 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Ljava/io/InputStream;)Lorg/bukkit/configuration/file/YamlConfiguration; 13.12 13:50:05 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_111] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:555) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:651) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:371) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:768) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.ServerConnection.c(SourceFile:187) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:224) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:57) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:131) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:151) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:330) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:50:05 [Server] INFO org.bukkit.event.EventException: null 13.12 13:50:05 [Server] ERROR Could not pass event PlayerJoinEvent to Character_Stats v2.1b
Also config is empty
another error but maybe fairly the same
13.12 13:59:02 [Server] INFO ... 15 more 13.12 13:59:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) ~[CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111] 13.12 13:59:02 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111] 13.12 13:59:02 [Server] INFO at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) ~[?:?] 13.12 13:59:02 [Server] INFO at org.jagarti.charstats.Main.useMenu(Main.java:372) ~[?:?] 13.12 13:59:02 [Server] INFO at org.jagarti.charstats.Main.levelUp(Main.java:320) ~[?:?] 13.12 13:59:02 [Server] INFO Caused by: java.lang.NullPointerException 13.12 13:59:02 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_111] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:555) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:651) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:371) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:696) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111] 13.12 13:59:02 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_111] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1820) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[CraftBukkit.jar:git-Bukkit-2ee49b4] 13.12 13:59:02 [Server] INFO org.bukkit.event.EventException: null 13.12 13:59:02 [Server] ERROR Could not pass event InventoryClickEvent to Character_Stats v2.1b
This plugins is totaly awesome.. Can i a few more question is the Config.yml have no letter on it
P.s. cant do /absorb
This plugins is great and i love the gui, is ther anyway some things such as : Exp bar works with plugin to keep track of needed xp Commands to level each thing in order to use with other plugins. Change items in gui These would be great if any if not all could be added :D
nice plugin, works fine on my 1.8 Server. is it posible to add language support do translate it to other languages?
Is this CB 1.7.9-R0.2 compatible? :)
Have you ever thought about chaging the status to "real" status, Like Str, agi, int, or maybe Dex,const, things like that ? i think it would be a good improvement, even more if you they change some more complex things, like Dex giving a Slight chance to avoid ranged atk or maybe, every int point increasing the mining spd by 1%.
Hello, did you think you can add a permission for upgrade any skill, for exemple : - charater_stats.upgrade.Health Or better, add the max level upgrade in the permission, For exemple, archer have - charactere_stats.health.20 abd warrior have - charactere_stats.health.30
Thans ! ( good job for your plugins ;) )
cool thanks Jagarti for looking into this for me i think it would be AWESOME can't wait to see the result
@nightsolar
I haven't done anything with signs yet, but I imagine it should be fairly simple.
Unfortunately, I am currently restoring my HDD, again... I managed to save my source files this time around though and my current build includes having multiple charecters as an option, I am still in the process of configuring the decider of who can have multiple charecters. As I write this now, I think I will add a series of admin commands to force upgrade player stats and I will integrate it with the number of allowed charecters. I will also create a sign system linked with these options. You may have to wait a week or more to see the update, as my computer issues are persisting but it shouldn't be long before everything is back on track.
it there anyway to create a sign system for leveling up that give certain stats with level up for example a user has enough exp to level up and he goes back to the main town and finds a few signs at the inn and one says "swordsman level up right click to activate" or something along those lines and it auto picks melee health and defence for his level up if he has enough to level up
Ey you gonna uptade this ? i like much this plugins but need some changes and new commands, pls update it :(
@madtomic
I have been testing between 1.6.4 & 1.7.9 so it should be fine.
Can I use this with CB1.7.2-r0.3?
@vandelain
I can't say I have a clue what I'm getting into but I'll give it a hook over the next few days.
Hello, I'm running a 1.4.7 Tekkit Lite server. Would you be able to make your plugin backwards compatible with older minecraft versions? This would be very helpful.
Some plugins can be made to work using the config.yml for that plugin (eg version-check=false) so perhaps that would be the easiest way to make the plugin work with older versions.