[INACTIVE][FUN/MECH] PwnCraft v1.06 - The RPG PvP Plugin [740]

Discussion in 'Inactive/Unsupported Plugins' started by Uremir, May 5, 2011.

  1. Offline

    Uremir

    PwnCraft - The RPG PvP Plugin:
    Version: v1.06

    PwnCraft is an advanced system of classes and leveling that grants unique abilities as you level. You can gain experience by mining, placing blocks, killing monsters, and especially killing players. PwnCraft adds a RPG and PvP experience to your server unlike any you have ever seen. Even if your server isn't PvP oriented, the RPG aspect of PwnCraft is still amazing due to our fantastic class system. Watch the video below for a preview of the Wizard.

    Features:
    * Advanced class system

    - * Choose your class upon reaching level one.
    * Gain unique, class specific abilities as you level.
    - Advanced leveling system
    * Receive EXP for mining and placing blocks, and killing creatures and players.
    * Level up upon receiving a set amount of EXP.
    - Amazing Help Menu
    * "/pc help" for an awesome help menu
    * "/pc command list" for a list of available commands

    * A Rock-Paper-Scissors Balance System

    - * Assassins are powerful against Wizards
    * Wizards are powerful against Warriors
    * Warriors are powerful against Assassins

    * Assassin class
    Show Spoiler
    - * Level 1: Stealth (Become temporarily hidden from enemies with a feather)
    * Level 2: Enhanced Agility (Temporary sprint and half falling damage - SHIFT)
    * Level 3: Pick Pocket (Chance to steal a random item from a player with a slime ball)
    * Level 4: Poisoned Blades (Sword attacks do additional damage over time)
    * Level 5: Murder (Heal for 2 hearts on killing an enemy player)
    * Level 6: Crippling Poison (Sword attacks have a chance to slow enemy movement)
    * Level 7: Back Stab (High chance when attacking from behind with a sword to do 1.5x damage)



    - Warrior class
    Show Spoiler
    * Level 1: Battle Vision (You see your enemies' remaining HP on damaging them)
    * Level 2: Ferocious Charge (You uncontrollably rush forwards with your axe - SHIFT)
    * Level 3: Block (Small chance to block an enemy's attack)
    * Level 4: Combat Training (You passively do slightly more damage)
    * Level 5: Thick Skin (Immune to damage over time effects like fire and poison)
    * Level 6: Decisive Blow (High cooldown strike for 2x damage with your sword)

    * Level 7: Counter Attack (Small chance to counter an enemy's attack)

    - Wizard class
    Show Spoiler
    * Level 1: Blast (Blast a small section for low damage - Torch)
    * Level 2: Blink (Teleport forward a short distance - SHIFT)
    * Level 3: Frost Bomb (A small frost explosion for low damage that slows enemies - Snow Ball)
    * Level 4: Nature's Grasp (Nature temporarily encases a small area - Sapling)
    * Level 5: Lightning Strike (Lightning strikes the ground in a very small area for moderate damage - Redstone Torch)
    * Level 6: Bone Shield (Create a protective shield of bone around yourself - Bone)
    * Level 7: Time Warp (Halts all enemy movement around you for a short time - Clock)


    Wizard Preview:



    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    Co-Developer: Danton
    Danton's Profile: http://forums.bukkit.org/members/danton.59135/

    Installation:
    * Download the latest Minecraft Server
    * Download the latest CraftBukkit.snapshot
    * Place the CraftBukkit.snapshot in your server folder
    * Run the CraftBukkit.snapshot that is in your server folder
    * Download the PwnCraft.jar
    * Drag the PwnCraft.jar into your plugin folder
    * Shut down your server all the way
    * Re-launch your server

    Planned Features:
    * Paladin
    * Cleric
    * Monk
    * Ranger
    * Party System
    * Races (Possibly)

    Special Thanks:
    * Crash for helping me with the "behind" an enemy algorithm.
    * Samkio for making awesome video guides to get Danton and I started.
    * Anyone and everyone who posts feedback and supports PwnCraft.

    Support:
    * Spread the word! Tell your friends about PwnCraft to help spread this awesome plugin!
    * Please, post ANY bugs that you find in PwnCraft! I will be checking this thread every day to fix any and every bug.
    * Have a suggestion for a class/ability/other? Post it! If we like your idea, we will incorporate it!
    * Like PwnCraft or the troubleshooting we post here? Then like it!
    * Of course, you can always DONATE to help support the development of PwnCraft.

    Changelog:
    Show Spoiler
    Version 1.06
    * Wizards now gain experience by casting spells to compensate for the cost of reagents
    * All of the warriors abilities have been fixed (There was a miscommunication on file transfer between Danton and myself, causing most warrior abilities to bug)
    * Assassins are now slowed in stealth
    * Player kills now grant between 10 and 50 EXP per kill
    * Mining gold ore now only grants 4 EXP per block to prevent exploiting the experience system
    * Blink is now only usable on a targeted block within a 40 block distance
    * All instances of the class "Soldier" instead of "Warrior" in the help menu have been changed
    * Added the armor limitations to Wizards (The limitation is leather armor only; it was on Assassins before and I forgot to add in the line to limit the wizard as well)
    * Blast now affects a slightly larger area to ease targeting issues
    * Many wizard cool-downs have been lowered to foster more active spell usage

    Version 1.05
    * Changed the OP fix to no longer require logging in and out
    * Changed the OP fix to no longer require "offlineOPs.txt"
    * Greatly simplified the logic of checking for OP (Should work much more smoothly now)

    Version 1.04
    * Adjusted the reward for killing players to prevent kill trading "power leveling"
    * Nature's Grasp now begins to despawn after 10 seconds
    * Fixed the issue with never ending slows and sprint
    * Fixed all issues with joining as an OP (This includes Essentials and pretty much every other conflicting plugin) (If you are an OP you must join your server, close Minecraft, and rejoin your server after every server reset to make it work. If you have logged in since a server reset, you do not have to do this.)
    * Added "offlineOPs.txt" to prevent any loss of OP names due to the new compatibility fixes.

    Version 1.03
    * Adjusted the ordering in the onPlayerJoin method to hopefully solve failure to initialize players into the HashMap
    * Added back the "/pc help leveling EXP" command that I accidentally deleted
    * Prevented NullPointerException from the checkTS method

    Version 1.02
    * Fixed the ArrayIndexOutOfBoundsException when using certain commands
    * Fixed the nullPointerException onPlayerMove
    * Added the hook for Permissions support

    Version 1.01
    * Fixed the nullPointerException onPlayerJoin.
    * Hopefully fixed the nullPointerException onPlayerMove.
    * Grass blocks now grants 1 EXP for breaking them.

    Version 1.00
    * PwnCraft initial release
     
    Last edited by a moderator: Dec 14, 2016
    Mikhos, Chuckster, Wakko and 3 others like this.
  2. Offline

    Jany95

    it tells me everytime i use a /pc comman: unknown console command but the commands are working. it is annoying. and could you make the damagespells usable against monsters and animals? would be great
     
  3. Offline

    Brvtvs

    In my experience, the level 1 assassin skill is OP, It doesn't seem reasonable that at level 1 you can go invisible for 20% of the time. If it was just a crouch sneak (with normal speed) or invis that lasts more like 2 seconds (like an in-combat thing for flanking or strategy).
     
  4. Offline

    Newspaperboy55

    Do you think you could make classes goto a second stage? like a wizard goes to warlock and a assassin goes to ninja, and warrior to warlord, just a idea.
     
  5. Offline

    fragen

    Tried recovering the server.

    I cant type /pc class Wizard.

    I simply get a double error message telling me the command doesnt exists.

    The same goes for the other classes. I cant see my exp either with the /pc exp command.

    We are using Craftbukkit 740.

    Her's the log about PwnCraft:

    Code:
    2011-05-15 03:47:24 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
        at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-15 03:47:24 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
        at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-15 03:47:24 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
        at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    The concept is really really good. I hope it will get up soon. All the other plugins of the genre are way too unbalanced and bugged.
     
  6. Offline

    Danton

    Noted and fixed. Uremir forgot that you can replace ore blocks :p

    You have to shut down and reopen completely to update/add the plugin; we haven't add restart functionality yet.
    The error message is because you are an op. The game is trying to run it both as a player and as the console, but it is only a player command. The commands still work just fine, because it is still running them as a player.
    As for the "/pc class" commands, are you using them to choose a class at Level 1? That is all that they are for.

    Noted and fixed. We've pretty much spent all day today checking for bugs and testing balance (read: goofing around and playing minecraft). We found lots of bugs with the warrior class (all of it) and have gotten them all, including your error, fixed.

    Noted and fixed. There should be no more references to the "Soldier" class anywhere in the code (we did a few ctrl+f searches and found nothing).

    Noted and Citizen's mod is the next plugin on our list to work on compatibility.
     
  7. Offline

    yuckfoooo

    First off, let me say this mod looks really cool and I'd love to implement it on my server.

    Only problem is it conflicts with the Jobs plugin :( Tested on a server using only PwnCraft 1.5 and Jobs 1.3.3b on CraftBukkit 766

    Keep up the good work!
     
  8. Offline

    Brvtvs

    I'm getting a fair amount of complaints about how good the assassin's level 1 skill is (and how quickly it can be reused) and about how the level 2 charge warrior ability is practically useless. I tested the warrior one and I have to agree that all it does is basically make you jump 1 block forward and make sneaking spam your chat and also make it dangerous to sneak to build on ledges. Just some info for balancing, awesome plugin, thanks.
     
  9. Offline

    Uremir

    Have you downloaded 1.06? That fixed the warrior charge and makes stealth slow the rogue.
     
  10. Offline

    Brvtvs

    I have 1.06, I didn't know about the slowness (that probably deals with that issue). However, the charge still does very little.
     
  11. Offline

    Uremir

    Hmm... It "should" jet you forward about 10 blocks in about 1/2 a second... Is it not doing that? If so, what is it doing exactly?
     
  12. Offline

    Brvtvs

    It just seems like the 1.5 issues (except gold was fixed and wizards can't wear heavy armor): You only charge about 1 block and assassin's aren't slowed by sneak. I tried to redownload but the link seems to be broken. Was there something I had to change besides swapping the jars?

    Edit: I am also having some issues with players exploiting spells (like frost bomb) in the protected spawn, I am not sure if you can fix that in any way, thanks.
     
  13. Offline

    noob4action

    hi
    isn't there a config?

    noob4action
     
  14. Offline

    Uremir

    That is odd, those are working for me on my server. When you "updated", did you delete 1.05 and then put 1.06 in or did you overwrite 1.05 with 1.06? Merely overwriting may cause issues... Did you hard restart the server or did you do a reset command? Reset commands can also cause issues. As for the exploiting spells, what do you mean? How are they exploiting spells?
     
  15. Offline

    Brvtvs

    I now understand the issues, I had to restart a few times or something to get the skills to work right, and the problem with the charge is NoCheat (duh). Exploiting frost bomb means they are using it to create snow in a no-build zone, and the effects hurt players in the no pvp zone.
     
  16. Offline

    Uremir

    Does the snow not disappear after about 15 seconds? And yeah, I'm aware of the wizard's power in no PvP zones. I'll work on that soon.
     
  17. Offline

    JesterB

    Would it be too much work to add commands that let an admin add, subtract, set or reset a player's xp? This would be extremely helpful for rpg servers. If access to those commands was set using a node for permissions would be even better.

    More generally, a config for setting xp values, cooldown times, etc. and permissions nodes for each class-level ability would also be super handy for those of us that want to customize how PwnCraft can work for our server. Maybe a config switch could be added that allows for PwnCraft to work as normal, or with permissions enabled, so people could still easily enjoy the plugin as originally put together.

    Thanks for all the work on awesome plugin!
     
  18. Offline

    Newspaperboy55

    Would it be okay if i put this plugin on Youtube?
     
  19. Offline

    Uremir

    You'll have to specify what you mean by that. If you give all credit for the plugin to Danton and I then I don't see why not.
     
  20. Offline

    Newspaperboy55

    Yeah thats what i ment.
     
  21. Offline

    MX Tombo

    [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
    at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-18 21:07:33 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
    at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-18 21:07:33 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
    at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.java:190)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    I keep on getting this, Do you know what the problem is?
     
  22. Offline

    Uremir

    It is a compatibility issue with another plugin. Try removing each other plugin your use, and then adding them back one by one to detect the problem plugin. Once you identify it, I can try to create a fix for it.
     
  23. Offline

    Rowsdower

    The bug with the buff durations is still present, at least with the Assassin Class. Often times sprint will just never end and constantly propel your player forward, even when you aren't even touching the movement keys. Vanish sometimes lasts forever too, but is removed when you attack.

    Every time somebody gets sprint-bugged i have to /reload the server. Is there anything you can do to fix this and force sprint to last the intended length and no longer? Maybe move the sprint button to another key, so people don't constantly accidentally press it? (Shift is the "crouch" button, after all. Maybe move it to Control?)

    Also, not sure if this has already been suggested for the Ranger class (or if you can even do it), but maybe Feign Death-like ability! Once the ranger is damaged to 3 hearts or less, he vanishes (but other players see his character model fall over like he died). Vanish lasts 5 seconds with a 50% movement speed increase. 5 min cooldown.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  24. Offline

    Uremir

    Have you tried having the players kill themselves? There is some plugin compatibility issue that causes my duration timers to not work properly, but on death all effects are removed from the player (poison, slow, sprint, etc).
     
  25. Offline

    MCAndi

    If you didn't plan this for your next update, you could add a config file (maybe configurable exp needed to levelup or SQL/MySQL support?) and short the commands. :D
     
  26. Offline

    Brvtvs

    Sorry it took me a while to get around to testing it, but the warrior's charge ability (with NoCheat disabled) is still very negligible, almost not worth using in a chase, because of the tendency to get stuck by using the sneak key to sprint and because it rushes fairly slowly and a short distance. Thanks
     
  27. Offline

    Pim1234

    Code:
    20:09:03 [SEVERE] Could not pass event ENTITY_DAMAGE to PwnCraft
    
    java.lang.NullPointerException
        at me.Uremir.PwnCraft.pcWizard.boneShield(pcWizard.java:612)
        at me.Uremir.PwnCraft.pcCombatListener.onEntityDamage(pcCombatListener.java:67)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:518)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:522)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:815)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    do you know what the problem is?

    and it would be nice if you added an option to lvl up using commands
    i want to be the highest, the strongest and the best :)
     
  28. Offline

    Brvtvs

    I am not sure if this is a bug or not, but charge seems to work really well in the water (I guess just because it is a significant raise in speed and there is nothing to get stuck on). Either way, it does lend use to the skill, at least on my server in which the spawn is on an island

    EDIT: Also, just so you know, my players have found that killing animals is the best way to get exp. This is not a complaint, just a piece of information you might be interested in
     
  29. Offline

    Uremir

    Are you watching the player charge or are you charging yourself? There is a bug with increasing the player's speed that temporarily makes him look normal speed, but after the view catches up with what the server says it works. As for the distance, it is supposed to be fairly short.
    I don't really want to add in level up commands because I feel like it will take away from the leveling experience. That leads to a "ok, cool abilities... what's next" attitude, but we want players to experience leveling up and to look forward to earning their new abilities.

    As for your error: Did the wizard use the bone shield with like 1/2 a heart left? That's all I can think of that would send error messages in rare cases.

    I don't know what is up with charge. I was playing around with it and it felt decent to me... Maybe it isn't working the same on your server? Not sure... Anyways, at least it works for your island setup.

    As for the animals: Ok, I'll remove non-combat animals from granting EXP. I'll also bump players kills up slightly.
     
  30. Offline

    Brvtvs

    I would like bumping player exp, it wouldn't matter if it were near a 1:1 ratio I don't think, that would still be unfarmable and my people pvp for exp all the time but hardly get anywhere because when they lose, they lose a lot.
     
  31. Offline

    ledhead900

    I was just thinking about using classes in my new server and this does all of the things I was thinking of. Just hope it plays nice with my other plugins
     

Share This Page