PKSystem
PKSystem enjoys playing on 1.2.5-R4 servers!
PKSystem is a highly configurable PvP system for MineCraft. It allows the server owners somewhat fine-grained control of the mechanics of PvP. Do you want your players to have good/neutral/evil reputation? This plugin provides that and much more. PKSystem has permissions (Vault) support. Time provided, PKSystem will be expanded to have more configurations and features. Feel free to suggest things that will make this plugin better, and be sure to report those bugs so I can fix them!
Important Notes:
- If you enable invisibility, this plugin may break:
• Plugins that use p.hidePlayer(pp); and p.showPlayer(pp);
o This has been fixed for VanishNoPacket!!!!!
Features:
- HIGHLY CONFIGURABLE
- Fun PvP system including reputation and special effects
- Ability to see and set players' reputation
- Optionally requires Vault for permissions - Go here to download it.
o Defaults to ops for permissions (if allowops is 'true' in the configuration)
• Checks Ops (if enabled in config)
• Checks Permissions (Vault)
• Checks BukkitPerms
• Defaults to DENY
Permissions:
- pks.* - Allows everything
o pks.eff.* - Allows all effects
• pks.eff.invis - Go invisible while sneaking
• pks.eff.seeinvis - See invisible players
o pks.pk.toggle - Toggle PK mode
o pks.rep.* - See and set all reputation
• pks.rep.see.other - See other players' reputation
• pks.rep.set.* - Set all players' reputation
• pks.rep.set.self - Set own reputation
• pks.rep.set.other - Set other players' reputation
o pks.reload.* - Reload all files
• pks.reload.config.* - Reload all configs
. pks.reload.config.main - Reload main config
. pks.reload.config.effects - Reload effects config
. pks.reload.config.rep - Reload reputation config
. pks.reload.config.tomb - Reload tombstone config
• pks.reload.playerdata - Reload player data
• pks.reload.points - Reload points list
• pks.reload.stones - Reload tombstones list
o pks.stone.break.other - Break other players' tombstones
o pks.override.combat - Override combat checks
o pks.debug - See debug info (/pks debug)
o pks.newver - See when there's a new version
- pks.half - Half-player permissions group
o pks.pk.toggle
- pks.full - Full-player permissions group
o pks.eff.invis
o pks.pk.toggle
- pks.mod - Moderator permissions group
o pks.eff.*
o pks.pk.toggle
o pks.rep.*
o pks.stone.break.other
- pks.admin - Administrator permissions group
o pks.*
Changelog:
1.2.5-R4_b3
o Once again altered URL in update downloader to use Bukkit's site instead of mine
• Sorry for any inconveniences this has caused (repeated updates over the last week)
1.2.5-R4_b2
o
• This will mean that all updates must be approved before you can auto-update
1.2.5-R4_b1
o CB 1.2.5 R4
o Fixed error submissions. (GET string in URL was too long; using POST now)
1.2.5-R2_b2
o Fixed connection error. (was using localhost)
1.2.5-R2_b1
o CB 1.2.5 R2
o Removed "You can't harm yourself" message; Will make configurable later.
o Changed UUID to not be configurable. Fixed UUID missing from stats URL.
o Changed update mechanics; will update on server start as well as player login.
• Will not update if it has already been updated. Will message the player this info.
o Error stacks will be sent to my website for further inspection. (optional)
• Using Base64 encoding; PHP sometimes fails without it.
1.2.5-R1_b6
o Implemented UUID in stats to distinguish between servers if they rename or change IP address.
o Added lightning strike effect when a player is killed by a player. (optional)
o When a player respawns, they can't be killed for x seconds. (optional)
o Reputation anti-farm. (player's reputation can't change too often) (optional)
o Changed '/pk' command to respect whether or not 'PK Only'-mode is enabled.
o Miscellaneous fixes here and there. Slight code tidying.
o Slightly altered the buff values. Not overpowered, but slightly more.
o Changed the default configuration to have everything disabled and show no messages.
o Fixed combat to not fire (enter/exit) when duration is set to 0.
o Added an auto-updater. (optional) Updates require a manual reload or restart.
o Fixed problem with p.showPlayer(pp); and p.hidePlayer(pp); for VanishNoPacket.
o Added '/pks debug' command and 'pks.debug' permission node to see debug info.
o Added 'pks.override.combat' permission node to skip enter-combat checks.
o Added 'pks.reload.playerdata' permission node.. Forgot that one.
o Changed playerOpt to playerData to leave room for future additions.
1.2.5-R1_b5
o Minor vault-related code changes
o Fixed a bug that occurred when a skeleton shoots a player. Not pretty.
o Removed configuration GUI - too bulky and not really needed.
1.2.5-R1_b4
o Configuration GUI in progress.
o Fixed small bug in code resulting in big error.
1.2.5-R1_b3
o Added '/pks opt <option> <value>' for per-player configuration.
o Uses playerOpt.yml to save these options.
1.2.5-R1_b2
o Stats changed a tiny bit. Using plugin name instead of JAR name.
o Command to see plugin version. /pks version.
1.2.5-R1_b1b
o Temporary 'fix' for servers using NoCheat and experiencing players being 'pulled back' due to speed effect.
• Speed effect will disable itself on servers using NoCheat.
1.2.5-R1_b1
o Initial release
o Permissions support
Videos: (Apologies for the sound quality)
I'll be testing this on my server tonight, will supply some feedback. :)
Good work!
@dz187
That line is
Apparently your server was not reporting the spawn location to my plugin properly (it's used for checking if a tombstone is in the spawn area so that the tombstone can be broken even if the area is spawn protected), most likely because you renamed the world your players are using and removed the default world.
I have implemented a fix for this (it's just an oversight in my part since some servers don't use the world named 'world') and you can download it from my website or when Bukkit approves the new version (1.2.5-R1_b4).
Thanks for the report!
This is what fills my server log anytime someone digs with PKSystem enabled. Other mods are Dynmap, WorldEdit and WorldGuard. Any idea what's going on?
4/30/2012 5:46:31 PM [SEVERE] Could not pass event PlayerInteractEvent to PKSystem 4/30/2012 5:46:31 PM java.lang.NullPointerException 4/30/2012 5:46:31 PM at com.scizzr.bukkit.plugins.pksystem.listeners.Players.onPlayerInteractEvent(Players.java:89) 4/30/2012 5:46:31 PM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 4/30/2012 5:46:31 PM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 4/30/2012 5:46:32 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 4/30/2012 5:46:32 PM at java.lang.reflect.Method.invoke(Unknown Source) 4/30/2012 5:46:32 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 4/30/2012 5:46:32 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 4/30/2012 5:46:32 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:461) 4/30/2012 5:46:32 PM at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 4/30/2012 5:46:32 PM at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:94) 4/30/2012 5:46:32 PM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:537) 4/30/2012 5:46:32 PM at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:129) 4/30/2012 5:46:32 PM at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) 4/30/2012 5:46:32 PM at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 4/30/2012 5:46:32 PM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 4/30/2012 5:46:32 PM at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169) 4/30/2012 5:46:32 PM at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:92) 4/30/2012 5:46:32 PM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:625) 4/30/2012 5:46:32 PM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:506) 4/30/2012 5:46:32 PM at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
@Perfk
Hey, thanks for checking out my plugin.
I don't think teams will be added to my plugin, at least for awhile. Maybe if enough people request it, it can be added in a future version. But for now, PKSystem isn't about teams. It's just for changing the mechanics of PVP in general.
As @nhoclesnar said, you are free to download Factions or xTeam or MCMMO even, as they all provide such functionality; but I'll keep your request in mind for future updates.
Thank you.
@cembry90
Cool. Very instructive videos :)
@Perfk
I think that request is a little out of topic here. Maybe you should request that feature in another plugin, like xTeam?
Can you make it so players with the same permission cant attack each other. like they are on the same team?
like pks.team1 pks.team2 pks.team3 pks.team4 ect
@nhoclesnar
Hey there.
The video was a placeholder. I was in the process of uploading them. You should now see 4 videos (approx. 60 minutes total).
Side note - Within the next week or so, I'll redo the videos. I had the wrong bitrate selected for my screen/audio recorder. *Sigh*
Nice one. But I can't watch the video.