CaptureThePoints
CaptureThePoints
Idea of this plugin is simple: player chooses a role(also he can shop in lobby and in arena) and goes in arena to capture points by placing colored wool in them. This game can be played in capture mode, where team which captures defined amount of points wins and in score mode where each point generates score every 30 sec and team which reaches defined amount of score wins. Each point capture and kill gives money and for it player can buy by punching signs.
Features:
- with some configuration gameplay can drastically change
- create your own arenas for this game
- multiworld support
- real multiple arena support
- arena protection, configurable
- custom roles
- player lives, only die a limited amount of times
- support for Bukkit's player max health
- start game count down
- end game count down
- kill streak messages, with color support
- inventory saving on entering the game
- reward system
- eggs can be grenades, configurable explosion
- custom Healing Items system (with HOT and cooldowns)
- player command usage disable when playing
- some arena repair after battle (only for player built/destroyed blocks)
- shops by signs in the game
- enchanted items support in roles, rewards and in-game shops.
- custom item names and lore in roles and rewards
- lobby for roles, team selection and preparing for battle.
- spawns and lobby protection from damage.
- support for TagAPI
- custom events are thrown (join, start, end, point capture, and more)
- basic language support, not 100% complete though
This plugin was originaly created by dkramer. Original post.
Download link
You will need Vault plugin for permissions and to use in game money for rewards
Downloads
When upgrading to a new version please read changes.
Permissions
Configuration Pages
- Items
- Roles
- Old Config and Installation Page
- 1.3.7 video how to build and arena (Still kind of relevant)
- Really old video how to build an arena. (Don't use unless you are using a old unsupported version)
Command list
Source code
CaptureThePoints game(thanks ScottSpittle)
Bug Reports
Please report any bugs and errors here: Tickets
And don't forget to write which version of plugin (/ver CaptureThePoints) and bukkit (/ver) you are using!
Todo list
- None at the moment
Donation Link
If you appreciate this plugin, you are welcome to Donate.
@Humsas
1.1.9 CB RB 1317 Spout 1.0.6
Is it possible its Spout Related?
Im also getting
08:55:07 [WARNING] Task of 'CaptureThePoints' generated an exception java.lang.NullPointerException at me.dalton.capturethepoints.CaptureThePointsPlayerListener$4.run(CaptureThePointsPlayerListener.java:295) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
@deleted_7536780
What plugin version are you using?
06:39:00 [SEVERE] Could not pass event PLAYER_TELEPORT to CaptureThePoints java.lang.NullPointerException at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:45) at me.dalton.capturethepoints.CaptureThePoints.restoreInv(CaptureThePoints.java:428) at me.dalton.capturethepoints.CaptureThePointsBlockListener.restoreThings(CaptureThePointsBlockListener.java:142) at me.dalton.capturethepoints.CaptureThePoints.leaveGame(CaptureThePoints.java:465) at me.dalton.capturethepoints.CaptureThePointsPlayerListener.onPlayerTeleport(CaptureThePointsPlayerListener.java:381) at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:316) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:308) at me.dalton.capturethepoints.CaptureThePoints.moveToLobby(CaptureThePoints.java:519) at me.dalton.capturethepoints.CaptureThePoints.onCommand(CaptureThePoints.java:652) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
@coaster4321
Please say what version you are using, because in newer version player leave bug is fixed (1.1.6 was very buggy). Thanks for suggestions I will add some of the features :)
Problems
One major reason is that me and a server owner found extremely dangerious bugs in the plugin.
What is needed
Notes
I will be trying to fix this bugs on my own for the server owner. But if you fix them. Please contact me so i can get updated code so i know whether or not its fixed. There were several issues that occured.
One a player never even joined the game. And got teleported in and when he left (BEFORE HE LEFT he kept his inventory on joining. While leaving it deleted its contents on him and lost his valuables. Luckily the server owner had a copy of his inventory as we expected it might happen to the previous bug. I shall be sending a bug report after this comand. This is a very good plugin. Just needs some bug fixes for now
@Punishkey
Does it trow any error? And what is plugin version?
PointsToWin: 150 - you have only 4 capture points so you will never finish the game(only after 10 minutes).
@Humsas: ok i create the arena, spawn point, setpoints and lobby.
the lobby its ok, setpoints works fine and spawnpoint configure inside the house red/blue. when you die enemy, nothing happens. i read in chat dies but not respawn in the house. my config:
/ctp leave and then i have this:
2011-10-08 18:23:44 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ctp' in plugin CaptureThePoints v1.1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.NullPointerException at me.dalton.capturethepoints.CaptureThePointsBlockListener.restoreThings(CaptureThePointsBlockListener.java:142) at me.dalton.capturethepoints.CaptureThePoints.leaveGame(CaptureThePoints.java:459) at me.dalton.capturethepoints.CaptureThePoints.onCommand(CaptureThePoints.java:728) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) ... 13 more
@Punishkey
It would be nice if you could provide more information on that issue. Yes i will update it when I will have some free time(maybe this weekend).
I would love this mod if it was more extensively coded :D
At the moment its rather glitchy with the new RB, but probably a few things that could be sorted easily. (one glitch being that when I restarted my server, it refused to load my arena config..)
I would appreciate BOSEconomy support, for the rewards :) support for multiple arenas, and when you join, it chooses (defined in the config) a random, or certain selected arenas.
and I'm not sure whether its ready yet, but would it be possible to hook into the new official GameMode setting? if so that would be amazing :D
when you hit a block it changes your game mode and puts you in the defined lobby
great job!! upgrade at bukkit 1185?
i kill people the other team but not respawn in red point or blue.
sorry for my english is very bad :(