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.
-
View User Profile
-
Send Message
Posted Dec 28, 2011@cloud_strife_91spain
What plugin version are you using and what is written on the sign? From error it seems that you are using some old version.
-
View User Profile
-
Send Message
Posted Dec 28, 2011Please help me i am create the shop, but when i am punch the sign this error appear in my server:
2011-12-28 13:29:40 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-28 13:30:59 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-28 13:31:04 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-28 13:31:04 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-28 13:31:05 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-28 13:31:05 [SEVERE] Could not pass event PLAYER_INTERACT to CaptureThePoints java.lang.NullPointerException at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.shop(CaptureThePointsPlayerListener.java:232) at me.dalton.capturethepoints.listeners.CaptureThePointsPlayerListener.onPlayerInteract(CaptureThePointsPlayerListener.java:124) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 27, 2011Okay I figured it out.
After a good amount of testing I realized that 85% of the potions (including splash ones) are broken.
potions 8193-8204 seem to work and the rest, well, plainly just don't work.
-
View User Profile
-
Send Message
Posted Dec 27, 2011@Humsas
Here's my roles:
I get [CTP] There is error in your config file, with roles. Please check them!
-
View User Profile
-
Send Message
Posted Dec 27, 2011Released new version. Now i will try to update plugin page for newest plugin data. I was not able to test plugin with more than 2 players so please be tolerant to errors and if you found some report in tickets page.
-
View User Profile
-
Send Message
Posted Dec 27, 2011@gabizou
You can do that. Just write 373:8200:10 in role items where 8200 potion type and 10 potion count player will receive.
-
View User Profile
-
Send Message
Posted Dec 26, 2011@Lukethenuke
Fixed your error, will add to next version.
-
View User Profile
-
Send Message
Posted Dec 21, 2011@Quaz3l
Now plugin is at 1.3.0 version. This week I am very busy so it will updated someday next week.
-
View User Profile
-
Send Message
Posted Dec 20, 2011Is this going to get updated to 1.0.1 soon?
-
View User Profile
-
Send Message
Posted Dec 19, 2011Is it possible to request some sort of feature where we can use itemcodes for potions? As it is for items it's Item:amount, where I'd like to have a mage class that is given say 373:34:2 where 373:34 is the speed ii potion and they get 2 of them. Anyone try this out?
-
View User Profile
-
Send Message
Posted Dec 15, 2011@Humsas
Thanks for the response. I am actually not using Mysql so it actually has been interrupting loading the plugin itself. I figure I should at least give you the error it generates with hardArenaRestore set to false. Also using a plugin generated configuration file and I made sure it was set to off. This error it generates is identical to what would show if hardArenaRestore was set to true so I'm thinking its not reading the line EnableHardArenaRestore: false and setting it to true as default. This only happens with the one posted in the comments. I understand you're busy so I will just stick to the previous version and continue to try to work out how the boundaries work. Hopefully this info helps you out.
Cheers, Luke
2011-12-15 23:25:27 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 2011-12-15 23:25:27 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2011-12-15 23:25:27 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 2011-12-15 23:25:27 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2011-12-15 23:25:27 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 2011-12-15 23:25:27 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at me.dalton.capturethepoints.MysqlConnector.checkMysqlData(MysqlConnector.java:41) 2011-12-15 23:25:27 [SEVERE] at me.dalton.capturethepoints.CaptureThePoints.enableCTP(CaptureThePoints.java:156) 2011-12-15 23:25:27 [SEVERE] at me.dalton.capturethepoints.CaptureThePoints.onEnable(CaptureThePoints.java:132) 2011-12-15 23:25:27 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) 2011-12-15 23:25:27 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) 2011-12-15 23:25:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) 2011-12-15 23:25:27 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) 2011-12-15 23:25:27 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) 2011-12-15 23:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) 2011-12-15 23:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) 2011-12-15 23:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) 2011-12-15 23:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) 2011-12-15 23:25:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2011-12-15 23:25:27 [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect 2011-12-15 23:25:27 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method) 2011-12-15 23:25:27 [SEVERE] at java.net.PlainSocketImpl.doConnect(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.PlainSocketImpl.connectToAddress(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.Socket.connect(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.Socket.connect(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.Socket.<init>(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at java.net.Socket.<init>(Unknown Source) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) 2011-12-15 23:25:27 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) 2011-12-15 23:25:27 [SEVERE] ... 27 more 2011-12-15 23:25:27 [INFO] [CTP] 1.3.5 version is enabled.
-
View User Profile
-
Send Message
Posted Dec 15, 2011@Humsas
Mysql is for hardArenaRestore and it does not work, so check it on false and it should not spit any error :D
-
View User Profile
-
Send Message
Posted Dec 15, 2011@Lukethenuke
Hello. I will make new video about how to set-up an arena. As of mySQL are you getting a message that arena data is not saved? In that build there was an error with mySQL not liking some symbols in database name. I am very sorry, but at the moment(and in the next week) i will not be able to fix it :(
-
View User Profile
-
Send Message
Posted Dec 14, 2011@Humsas
Hi there Humsas. I am a fan of your plugin as is my server. I know you're busy but I wanted to let you know that the version of your plugin you uploaded in the comments won't work because it insists on using a mySQL database. This is despite the fact any previous version not having this requirement. I downloaded it in particular because of the changes you made to setting up boundaries. I find the current way of doing boundaries a bit confusing considering there is no documentation on them nor does the video include how to do it. I have managed somehow to set them up in the past through guesswork but now I'm at a loss. When you get a chance, please let me know the proper way to setup boundaries as the 1.3.0 version still works fine with the recommended bukkit.
Cheers, Luke
-
View User Profile
-
Send Message
Posted Dec 10, 2011@kaesekeks
It would be possible but at the time I dont have time because of studies. About joining specific team i was thinking of puting wool in the looby and selecting team there.
-
View User Profile
-
Send Message
Posted Dec 9, 2011Suggestion: Would it be possible to add multiple respawn points, so if your team has captured a point, you can respawn there? Edit: I think it would be also nice to add a command to join a specific team, like /ctp join red or /ctp join blue
-
View User Profile
-
Send Message
Posted Dec 6, 2011@Humsas
<3
-
View User Profile
-
Send Message
Posted Dec 6, 2011@SmashboxGaming
http://dl.dropbox.com/u/47951077/Capture.rar
Here. Configuration and boundary system changed. Now you must select cuboid area like in mob arena. Configuration files should update automatically. Also now you can specify different game configurations for different arenas.
-
View User Profile
-
Send Message
Posted Dec 5, 2011@Humsas
Would you mind providing a link for it? I understand it's Dev.
-
View User Profile
-
Send Message
Posted Nov 29, 2011@SmashboxGaming
There is such version, but I dont have time to update page. I will release it on official bukkit 1.0 server version.