Castle Defence for SimpleClan
What is it ?
Castle Defence for Simple Clan is the attack and defence mini-game of any area base on simple clans. The defenders need to protect their core(block) from the attackers, if the attackers break it, attackers win. Any winner clan ( attack or defender ) have the right over that area until next event !
All this is base on simple-clans !
this will be focus on castle... but can be use for any defence mini-game system or just use protect system with simple clans!
Very easy to setup - very easy to use - :)
v 1.0.0
- Update to BK 1.16
- Remove Combat-Tag support
- Update to SimpleClans 2.15.2 ( not legacy )
- Change config from ID core block to STRING name core block
- Release as version 1.0
Feature
- Mini-game Defence
- Protect some area for some clan ( simple clan )
- Mysql | Sqlite support
Planned
- Set auto-event
- Add Translate support
- Add Full Mini-game system
- Add Classes
- Add Spawn for different clans
Permissions
- cdsc.admin ( All permission )
- cdsc.define ( For Define Area)
- cdsc.delete ( For Delete Area )
- cdsc.reload ( For reload )
- cdsc.wand ( For wand )
- cdsc.start ( For start event )
- cdsc.end ( For end event )
- cdsc.sc ( For set core )
- cdsc.tp ( For tp to area )
- cdsc.info ( For info )
- cdsc.list ( For list )
- cdsc.setexit ( For set exit )
- cdsc.bypass ( For admin be able to block inside protection )
- cdsc.spawn ( For spawn tp and owner spawn )
- cdsc.setflag ( For set flag command )
- cdsc.delflag ( For del flag command )
Commands
/cd <w or wand> - give you stick to set area ( like worldguard )
/cd <d or define> <areaname> <clanTag> - save the area you made with wand
/cd <i or info> - info about area you are
/cd <l or list> - list all areas
/cd <dl or delete> <areaname> - delete an already created area
/cd <tp or teleport> <areaname> - telepot to already created area
/cd <sc or setcore> - Set core of this area to target block
/cd <se or setexit> <areaname> - Set the exit point for all not allow players
/cd spawn <areaname> - Set owner and tp spawn
/cd <s or start> - Start the event ( allow all to pass on protected area )
/cd <e or end> - End the Event
/cd <sf or setflag> <flag> <areaname> - Set the flag - on +0.1.8
/cd <df or delflag> <flag> <areaname> - Delete the flag - on +0.1.8
/cd reload - reload plugin
/cd < help | ? | nothing > - get help on commands
Setup Area for the event
- Get the wand /cd wand
- Set first and second spot
- Call /cd define <area_name> <clan_tag_owner>
- Target the block that will be the core and /cd setcore
- Stay in the spot that will be the exit point for not allowed players and /cd setexit <areaname>
- Stay in the spot that will be the spawn of tp and owner players clan and /cd spawn <areaname>
- hint 1 : <clan_tag_owner> can be "staff" if no one have this area yet !
- hint 2 : set core work on location , if you put any block there after set core , this will be the core.
Start / End Event
Every start corelife will be reset
Start the event with /cd start and all clans will be allowed to enter the areas and try to hit the core. if the core of some area reach 0 during the event the attacking clan will get the area and the event will end. right now you need to end with /cd end if you anyone get the core in time.
can be auto start/end in the future
Flag System
Start on 0.1.8 you have option to include flag on your area :
Flag: blockplaceduringevent
How its works : During the event all players will be able to place any block on that area
Flag: blockbreakduringevent
How its works : During the event all players will be able to place destroy any block on that area
Flag: rebuildafterend
How its works : at the end of event all destroy or placed blocks during the event will be remade
Flag: denyclanbreak
How its works : Deny clan members to break any block inside that area
Flag: denyclanplace
How its works : Deny clan members to place any block inside that area
Requirement
- Vault
- SimpleClan 2.5.12
Setup
This plugin is installed much like every other plugin. Put the jar file in your /plugins/ folder and restart the server. The config files automatically appear in the /plugins/CDSC/ folder
ello,
Can you add a sign with info, like:
TOP Clans
Clan A: 5 regions
Clan B: 3 regions
Clan C: 1 regions
Hello. We are doing clan wars every week. One clan is defending a castle and other clans are trying to claim this castle. I would like to ask if it was possible to add custom permission for castle owners, we have to do it manually by editing simpleclans config right now. The permission allows us to provide clan benefits and motivate others to clan wars.
In reply to Forge_User_52403752:
Hey, any planned updates? :)
working on that
In reply to stutiguias:
Can the area be an actual Worldguard claim. then we can set flags.
Are-you still working on this project ?
Can you add some features like :
1) Clan leader can claim the area without an admin.
2) The simpleclans command "/clan war" can start the event, however, it's just for attackers and defenders and all their CDSC areas.
If you can add that features, this plugin will be just perfect !!!
Já que o site do bukkit ta dando erro nas mensagens privadas, vou mandar por aqui mesmo (pelo menos a galera pode acompanhar a discussão).
Em primeiro lugar quero dizer que este plugin tem um potencial gigantesco! Sem dúvidas dá pra fazer um servidor focado somente em guerra de clãs com o CDSC!! Por favor Stutiguias, volte a desenvolver ele! =D
Eu fico pensando: só br fazem plugins de pvp que prestam, como Killer, Gladiador, CDSC, etc. Todos valorizando o ótimo plugin de clans q é o Simpleclans.
Agora sobre o erro: quando eu ativo o evento da guerra, os players começam a quebrar o núcleo de obsidian, ao chegar na última vida (caso tenha mais de uma) ele dropa e o player pega o bloco, NÃO conquistando aquela área. Isso, além de bugar o mapa, estraga imediatamente o jogo, pois a área continua sendo da staff, mas o player acha q a área é dele pq ele quebrou o núcleo.
Eu tentei diminuir a quantidade de vidas para 1, aparentemente toda vez que você digita /cd reload o plugin "conserta", mas se o servidor reiniciar ele buga denovo, independente da quantidade de vidas do núcleo.
Outro problema: o MySQL simplesmente não funciona. Perdi horas de configuração (já que meu mapa de arena tem 250 terrenos) pensando que o MySQL seguraria. Era só dar restart que eu perdia tudo!!! Esse erro considero menor, pois eu simplesmente abandonei o MySQL, adotando o SQLite ao invés. Só avisando mesmo.
E, por fim, uma idéia: se possível, pq vc não acrescenta um comando tipo /cd count ou /cd owned para o player ver quantos terrenos o clan dele possui naquele momento? Eu sei que esse comando faz mais sentido com arenas maiores, mas é uma idéia.
Outra coisa, reparei q vc pretende adicionar classes futuramente, então faço um pedido: eu rodo a internet procurando plugins de pvp que possuam a opção de desativar as classes, mas elas são obrigatórias em todos, então, por favor, caso acrescente as classes, coloque a opção de desativá-las! Os donos de servers brasileiros ficarão muito gratos!
E Mais uma vez, parabéns pelo ótimo plugin!
Vou tentar sempre vir aqui acompanhar o desenvolvimento, já favoritei essa página, qq coisa vc tem um server de testes no thornya.mchost.pro
#TMJ
Very very very good plugin, easy to use.
I propose that during events, we can choose the clan which can attack the area.
For instance : The clan B can attack the area of the clan A during the event but the clan C can't. (It's like a war between clan A and clan B, with the command /clan war).
An other idea :
The player who is the leader of a clan can claim the area, set the core, set the spawn and set the exit (if the KDR is high for example) without the help of an admin. I know they can do that thanks to the permissions. However, that permissions allow set the core, the spawn and the exit point of ALL areas and not just for "our clan's area".
Sory, my English is baaad.
Bye :)
EDIT : When we reboot the serv, the plugin bug. We can walk and break block in all areas and there is de message "An arror as occured [...]" if we try "/cd info" !
try get last dev
Hello, I'm using your plugin for a month and it works perfectly until now. Your plugin wants to connect to MCStats, but every time it fails and lags my server every 10 mins. Is it possible to disable this feature?
can you make feature for set core morethan 1 please???
Can you make it for 1.8.8? Is that possible, Please
@thelicwolf
i will work on that asap
Nice plugin thanks for update 1.10.
just a problem It happens when the core reaches 0
[20:26:06] [Server thread/ERROR]: Could not pass event BlockBreakEvent to CDSC v0.1.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:293) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:125) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:831) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:40) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:10) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-3ccadba-7f1a322] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot.jar:git-Spigot-3ccadba-7f1a322] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] Caused by: java.util.MissingFormatArgumentException: Format specifier '%s' at java.util.Formatter.format(Unknown Source) [?:1.8.0_91] at java.util.Formatter.format(Unknown Source) [?:1.8.0_91] at java.lang.String.format(Unknown Source) [?:1.8.0_91] at me.stutiguias.cdsc.init.Util.BrcstMsg(Util.java:78) [?:?] at me.stutiguias.cdsc.listener.PlayerListener.HitCore(PlayerListener.java:296) [?:?] at me.stutiguias.cdsc.listener.PlayerListener.BlockBreak(PlayerListener.java:251) [?:?] at me.stutiguias.cdsc.listener.PlayerListener.CancelEvent(PlayerListener.java:216) [?:?] at me.stutiguias.cdsc.listener.PlayerListener.onBlockBreak(PlayerListener.java:77) [?:?] at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot.jar:git-Spigot-3ccadba-7f1a322] ... 17 more
Update to 1.8.8?
Hey there!, could you please update this plugin adding new features like:
A map where you can see which "castles" have your clan and if for example, the Pirate castle is captured by the Windows clan, then clan members can tp to the Pirate Castle.
The map can be colored wool (green wool means that your Clan controls the position/castle...)
At least, answer me.
Thanks for your time.
Olá, espero que possa entender o português, não sei qual é a sua nacionalidade, mas gostaria de fazer uma pergunta. Será que é possível atualmente, o plugin Castle Defense, permitir mais de uma onde de ataques ? Por exemplo; "Clan 'X', defenda seu castelo por uma hora!"; e quem obtiver o domínio do castelo durante uma hora, será o vencedor. Isso é possível? Obrigado por ler :)
Please add a Claim area limit option in config so i can give the creation node to players without them making massive claims and/or add a price system. Anything that would limit the size of the claims for players would be Awesome. Also it would be AMAZING if you added an option to make players set the core before the claim starts working if thats possible and make it so that you can choose a specific item id that has to be used as the core such as a beacon so that people dont just randomly select a piece of stone or something that is too hard to find as the core for attackers. Great plugin by the way. Keep up the good work! This could really be the future of clans!