Inactive [FUN/RPG] CaptureThePoints v1.3.8 - Capture The Points Game with Wool [1.2.3-R0.1, 1.1 R6]

Discussion in 'Inactive/Unsupported Plugins' started by Humsas, Sep 16, 2011.

  1. Offline

    Humsas

    [​IMG]
    Capture The Points Game with Wool​
    Version: v1.3.8

    BukkitDev page.

    This is my version of this plugin, original plugin was created by dkramer. Original post.

    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 plugin configuration gameplay can drastically change.
    • create your own arenas for this game.
    • multiworld support.
    • arenas protection.
    • custom roles.
    • inventory saving on entering the game.
    • reward system.
    • custom HealingItems 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.
    • lobby for roles selection and preparing for battle.
    • spawns and lobby protection from damage.
    • multi-arenas support ( only one to play thou)
    Download link
    Latest version 1.3.8 (for bukkit 1.2.3-R0.1 and 1.1 R6)
    When upgrading to a new version please read changes.
    Other versions
    Permissions
    Permissions page.
    Configuration file and installation
    How to configure your CaptureSetings.yml and install plugin
    New video how to build an arena.
    Old video how to build an arena.
    Command list
    Commands.
    Source code
    Source
    CaptureThePoints game video:



    Please report any bugs and errors here:
    And dont forget to write which version of plugin and bukkit you are using!​


    Changelog:

    Version 1.3.8
    • Updated to new listeners and config system.
    • Added cooldown to class selection.
    • Now player will not be kicked from lobby on readying up if he is alone in there.
    • Fixed helmet disappearance on class change.
    • New chunk sending to players client.


    Version 1.3.7
    • Fixed rewards bug.
    • Fixed Team balancing bugs (I hope that was last of them).
    For other changes visit https://github.com/Humsas/CaptureThePoints/wiki/Changes


    Version 1.3.7

    Added new config options:
    • ExpRewardForKillingOneEnemy - rewards player with EXP points after the game for every player he killed.
    • EconomyMoneyCostForJoiningArena - how much money it costs to join specific arena.
    • DisableKillMessages - disables kill messages to lower spam in chat.
    Added new features:
    • Now players can select team in lobby by punching wool with team color he wants to join. (Autobalance balances teams if they are not equal after all players are ready).
    • Enchanted items now are supported in all configuration + in-game CTP sign shops. Example: 272:2/16-4/20-2/21-3
    • Economy support thru Vault plugin(That is not required if you will not use economy money as rewards).
    • EXP can be given as a reward. Example: WinnerTeam: Items: DIAMOND_LEGGINGS, EXP:100, $100
    Lots of other bug fixes.
    In older versions newly created config versions got really messy. Sorry about that. You can clean them by backuping CaptureSettings.yml int 1.3.7 version, then deleting it and generating new config file to which you can copy data from the old one.

    Older version changes: (open)



    Version 1.3.6.5

    Fixed some bugs:
    • Now /ctp b arenalist reloads arena list on call.
    • Added new commands to help.
    • /ctp b findchests now is only usable by admins.
    • Fixed potions bug.
    • Fixed bug with players able to capture points not meant to be captured by their team.

    Version 1.3.6

    There are lots of news and I really don't remember them all :S
    Few main ones are:
    • Config file got revised, so please backup it before adding .jar file. (It should update config file automatically).
    • Added new commands: /ctp build save, /ctp build findchests and /ctp build restore.
    • Also new permission ctp.admin.restore ctp.admin.save ctp.admin.canModify.
    • Arena hard restore is now working(on mySQL) also simple arena restore now restores arena after explosions.
    • Now /ctp build setpoint accepts new optional option at the end of command, allowing to set which teams cant capture the point.
    • Team balancing changed also there is new option for balancing players in config file.
    • Role signs can now be used in-game in format Line 1: Role, Line 2: Price (optional). Line 3 and line 4 empty.
    • Every arena now has its own configuration options!
    • Now all arenas are protected from players that are not playing CTP, so they could not grief arena.

    Version 1.3.0

    New commands:
    • /ctp auto <worldname> - brings every player in the world to a random suitable arena.
    • /ctp aliases - list of helpful command aliases.
    • /ctp rejoin - join a game if one has started(if there is no game started, player will not be able to join).
    • /ctp stats - shows player in-game stats.
    • /ctp team - show team-members.
    • /ctp start - starts CTP game(admin command).
    • /ctp version - check this plugin's version.
    • /ctp build maximumplayers <number> - sets maximum players of the arena.
    • /ctp build minimumplayers <number> - sets minimum players of the arena
    New config options:
    • MaxPlayerHealth - players health in CTP, defaults to 20.
    • AllowCommands - if true player can use commands while playing, if false, he cant.
    • UseSelectedArenaOnly - if true uses only the selected arena, if false it randomly chooses an arena to play.
    • AllowLateJoin - if true players can join CTP after game has started, else if false they cant join.
    • AllowBlockPlacement - if true players can build anywhere, if false the can only place wool in the CTP points.
    • AutoStart - if true starts the game when there are enough players, if false admin must start game with /ctp start.
    New feature: Healing items(See configuration guide).
    Tried to fix auto-balancing bugs(Not tested yet).
    Made most commands console-safe.
    /ctp help - remade.

    All permisions have been changed, please see configuration guide

    Version 1.2.6

    Thanks kjhf for many updates, chat messages fixes, command system remake and many more.
    • Fixed bug there having lobby not in boundarys caused players who try to destroy blocks beneath them trown out of the game, but be left in the lobby.
    • Fixed zero wool bug in config file.
    • /ctp colors command now also shows players who are playing game.
    • Added new command /ctp team - it shows players on command sender's team.
    New config options:
    • BreakingBlocksDropsItems - if true destroyed blocks drop items, false - disables block drop from destroyed blocks.
    • DropWoolOnDeath - if true player drops other teams wool on his death, if false - player does not drop other teams wool on death.
    • LobbyKickTime - time in seconds player has to ready up or he will be kicked from lobby (-1 or 0 disables checking).
    Added one more option in shop system:
    Now 4 line in sign is meant for color of team allowed to buy sign item(this is optional, this line can be left empty).
    • Changes in text formatting and colors.
    • Kill steak messages changed.
    Version 1.2.1
    • Fixed problems (but need testing with 5 or more people) ExactTeamMemberCount.
    • Now players cant build in lobby.
    • Also players cant build with not their own wool around the points.
    Version 1.2.0
    • Tested with CB 1317.
    • Added command /ctp kick - kicks player from the game.
    • Added new configuration option ExactTeamMemberCount - with which(if true) players can join game only by groups.
    • Fixed chat flood then punching Iron block in the lobby.
    Version 1.1.9
    • Tested with CB 1317.
    • Fixed bug when you damage yourself with arrow and it trows error in console.
    Version 1.1.8
    • Tested with CB 1240.
    • Fixed arena creation and joining bug.
    • Fixed score message with many same teams.
    • Fixed /ctp pjoin wrong message.
    • Fixed wool placing bug, when placing not your own wool and preventing other players to capture that point.
    Version 1.1.7
    • Fixed previous bugs.
    • Added teleporting check - now player which teleports out of lobby will leave the game. While in the game teleporting teleports to your team spawn.
    Version 1.1.6

    • Updated for 1.8.1 version.
    • Added helmet check.
    Version 1.1.5

    • Now really fixed vertical point remove bug.
    • Added more messages on game end.
    • Fixed reward bug on game timeout end.
    • Now all rewards are stacked(except armor) also it stacks player inventory on entering the arena.
    • Shop bug where you cant see bought item.
    • Arena repair bug with wool.
    • Now players cant destroy signs in arena while playing.
    Version 1.1.3

    • Added /ctp reload and /ctp build setboundary <1 | 2>
    • Fixed vertical point remove bug.
    • Added protection that players in the game could not teleport/move out of arena(arena boundaries must be set).
    Version 1.1.0

    • Fixed lots of bugs, added arena protection, wool drop on death, point protection for making easy money, point protection for building on top or before point.
    • Vertical points and /ctp build setpoint usage changed
    • New commands /ctp build arenalist and /ctp build pointlist.
    • Added rewards after game.
    Version 1

    • Initial release.
     
    obitoo likes this.
  2. Offline

    obitoo

    i have problem whit MySQL

     
  3. Offline

    MGNick

    Is there a way to make it so I can control what player is on what team. For example. I have Two Permission groups: Group A and Group B. I want all of Group A on the Red Team and Group B on the Blue Team. Is there such a command for admins to modify the team members? If so it will work 100% with my server. Could just use Server signs and set a permission node for Group A so they must select the Red Team.
     
  4. Offline

    Humsas

    @obitoo there is some kind of problem with sign in arena. Could you PM me all sign texts that are in arena?

    @MGNick it is not possible yet.
     
  5. Offline

    MGNick

    :( do you have any guess on when you could update it so it supports other Permission system or no?
     
  6. Offline

    Zombiemold

    @Humsas

    How goes your progress? Over at Vox we love your plugin, and wanted to check up on your bug fix progress. Much love from all of us. Hope you haven't run into too many coding walls :3
     
  7. Offline

    Humsas

    It is going slowly as i don't have much time :S

    @Zombiemold
    What had you in mind with this sentence?
    You want to disable CTP HealingItems?

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

    Zombiemold

    @Humsas

    Yeah. With all the new healing potions in the game now, it makes more sense to have an option to just stay with the vanilla healing system and use potions for Hots and healing. It would be great, as a server owner, to turn off all CTP's food Hot system, and go with vanilla as an option.
     
  9. Offline

    Humsas

    You can just not use these items.
    Okay I made team selection in the lobby, but I need somewhere to test it. Maybe there are people wiling to let me crash their server? ^^
     
  10. Offline

    Zombiemold

    I'd be glad to let you crash ours. Do you have skype? Add me: Zombiemold

    Oh, btw Humsas, our server worked on a cool video to promote our server, and we included some footage of Capture the points. The scenes are short in the video, but it looks rather cool, thought you might enjoy that ^_^



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

    WingedSpear

    I have a huge problem...i set the arena, 5 points, and set the boundaries like 3 times the size of my arena, from underground to the sky, but its still not working, i claim one point and the game its done, i dont know what to do u_u
     
  12. Offline

    Zombiemold

    WingedSpear

    You made the points via commands correct?

    how many players minimum do you have set minimum?

    Is the spawn point inside the area?

    Did you account for vertical space when you set the boundries?

    Any error log, or message when the game ends?
     
  13. Offline

    Humsas

    Go to your arena config and change PointsToWin: 1 to PointsToWin: 5, then players will need to capture all 5 points to win the game.
     
  14. Offline

    WingedSpear

    actually i tryed points to win 3,4,5,10,20 and nothing =/, i have everything inside the arena, exept minimum...
     
  15. Offline

    Humsas

    There are two config files - one global and another for arena. You must edit arena file.
     
  16. Offline

    WingedSpear

    oh lol, that explain everything...ok thx, so i have to say, great plugin, i suggest u to check the plugin ModDamage, u can make roles with special abilitys, like archers with knockback, medics healing punching their team, axes with explosions, also u can give abilitys to the armors like reflect =)
     
  17. Offline

    linkkwtf

    nice work!
     
  18. Offline

    WingedSpear

    http://pastie.org/3221190
    =/ i get kicked from the server while im playing and i get ''End of Stream'', that happen everytime while im playing CTP

    edit: it happen when i win =S, i reach the max score and then im kicked, im playing in the ScoreGeneration mode....
     
  19. Offline

    Mr_Drake

    I would just like to thank you for an amazing plugin. Me and a friend run a PvP server and i'm sure all our guys are going to love this. We tested it and even with just us two it was extremely fun.

    Thanks Again.

    -The Pandacraft Team
     
  20. Offline

    Humsas

    WingedSpear have you tried to run CTP plugin without any other plugins? It does not seem that error is caused by my plugin. Maybe some other plugin interferes in some way.
    Maybe CTP prints some warnings in server console?
     
  21. Offline

    WingedSpear

    well i dun gonna play with ScoreGeneration anymore....the normal play its working but now i have an HUGE problem u_u, http://pastie.org/3228790, that thing is crashing my server, these ones are the last lines of the console, then the server its crashed and i have to rollback...u know whats happening?
     
  22. Offline

    Humsas

    New version is up with some important bug fixes please download it and if you see some more errors please report them in tickets. Thanks :)

    It seams that java uses up all memory that was allocated to it and crashes.

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

    WingedSpear

    ic...do u suggest me something? cuz it happen with ur plugin, its a fat one xd, but its reaaaally awesome, i have fun with it per hours, but then it crash a lot of times =/

    Oh, also Humsas, the late join have a problem, i dont know if u fixed it in the new update, but with the old one if u join to one started game, u cant choose the team...
     
  24. Offline

    Humsas

    Team selection only works for game start. Later it will select team with the lowest members count or join in groups to maintain balance between teams.

    I would suggest in .bat file assign more memory for the server.

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

    WingedSpear

    http://pastie.org/3232990 again crashed, it happen while im playing, my server have assigned 20Gb...also i have ptweaks, i dun gonna be able to play this game like never T_T, its killing my server
     
  26. Offline

    Humsas

    Have you tried to test plugin in a clean server without any plugins? Maybe one of them interferes with CTP. In your log i am not able to find any errors or something.
     
  27. Offline

    migsthegod

    Hi i'm having some issues with compatibility with vault.
    here is the log:
    Code:
    2012-01-23 22:09:13 [SEVERE] Error occurred while enabling CaptureThePoints v1.3.7 (Is it up to date?): null
    java.lang.NullPointerException
        at me.dalton.capturethepoints.CaptureThePoints.setupEconomy(CaptureThePoints.java:1437)
        at me.dalton.capturethepoints.CaptureThePoints.enableCTP(CaptureThePoints.java:150)
        at me.dalton.capturethepoints.CaptureThePoints.onEnable(CaptureThePoints.java:143)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1059)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    Also, the latest version automatically generates an arena called "Arenas"

    Please check it out?

    Using cb 1798
    and latest ctp version :)

    We'd love to use and donate to this plugin :)
     
  28. Offline

    Humsas

    migsthegod which Vault version are you using?
     
  29. Offline

    WingedSpear

    im sorry, i should answer u about my problem, its fixed, looks like one plugin for add explosions to the arrows are crashing the server, ur plugin its working perfect, the only problem is if u kill some1 with fire, explosions or some high damage feature, the enemy respawn without armor till die again, also the instant damage potions kill but they are like ''Herobrine'', so if u kill with potions u dont get money.

    Suggestions:
    • the enemy should lose money if they are killed by u
    • options for enable the team damage, i made a medic but my medic cant heal if he cant hit hes team (the hits dont cause damage, just heal if they hit with clean hands, but he need friendly fire)
    • support for translating texts, if u do that ill add one spanish version for u
    my players loved ur game, i think some day im gonna add a video of my server playing CTP, thx for this plugin ^^
     
  30. Offline

    Humsas

    if other plugin does damage without sending damage event to other plugins i cant really get damage event and prevent players from dying :(
     
  31. Offline

    Mr_Drake

    My server was using this mod, and we greatly enjoy it. But since we updated to 1.1 it will no longer work, with players unable to place the wool blocks in the capture points. Is this a known bug? or simply an error caused by the update?
     

Share This Page