Castle Wars

Discussion in 'Archived: Plugin Requests' started by coolfire155, Apr 26, 2014.

  1. Offline

    coolfire155

    I think what i am about to say would be a cool plugin. The point of castle wars is there are 2 castles beside eachother but has a wall in between them also each castle gets a little forest to get wood, Also each castle has its own shops where you can buy armour and weapons, And each castle gets a mine to mine ores. the objective of the game is to gather resources before the wall that seperates the 2 castles drops, when the wall drops the teams will then battle until there is one person left. the person who won gets a configurable amount of money and the rest of the winners team who died also get a configurable amount of money, and the loser team also gets a configurable amount of money for participating. There is also a scoreboard on the side which shows everyones name in that arena with there teams color, like this:

    Time: %time%
    Green Team (names in green)
    Alice341
    jeffrey78
    bob3
    Red Team (names in red)
    gordy59
    harrold42
    boby89

    I would like the scoreboard to be configurable. %time% means time until walls drop then after walls drop the time will display time until game ends. Also i would like the max players and min players to be configurable.


    This needs to be 1.7.2 compatible and will need:
    . Worldedit Support (to make the arena)
    . Essentials Economy Support (money reward)
    . Worldguard Support (making certain areas not be able to break)
    . Sign Support

    Signs:

    [CastleWars] - Prefix
    Join
    CastleWars1 - Name Of Arena
    0/24 - Players waiting in lobby

    Optional:

    One castle the players are zombie pigmen (disguised) and the other castle the players are Steves (disguised) and i would like this to be customizable in config.

    Configuration:

    I would like this to be as configurable as possible

    Commands:
    /castlewars create [Arenaname] - Creates An Arena
    /castlewars delete [Arenaname] - Deletes An Arena
    (Optional) /castlewars rename [Arenaname] [New Arenaname] - (optional) Renames An Arena
    /castlewars setgreenspawn [Arenaname] - Sets The Green Teams Spawn
    /castelwars setredspawn [Arenaname] - Sets The Red Teams Spawn
    /castlewars setminplayers [Minplayers] [Arenaname] - Sets The Minimum Amount Of Players
    /castlewars setmaxplayers [Maxplayers] [Arenanam] - Sets The Maximum Amount Of Players
    /castlewars setlobby [Arenaname] - Sets The Waiting Lobby
    /castlewars start [Arenaname] - Force starts An Arena
    /castlewars reload - Reloads The The Plugin And Config

    Messages:

    I would like to have customizable messages in game.

    Thats pretty much the basic idea but if someone does make this then you will get special rank on my server once its released thanks.
     
  2. Offline

    coolfire155

  3. Offline

    DigitalCookie

    Have you looked at the walls minigame?
     
  4. Offline

    coolfire155

    Yea i have looked at that but thats for 4 people in one arena and 4 sides. i want 2 teams 2 sides.
     
  5. Offline

    coolfire155

  6. Offline

    mythbusterma

    It's a big project, but I'd be willing to do it for you, if anyone wants to help me reply in this thread and I'll give you a link and access to the github.

    How would you want the scoreboard to be done? Like a bunch of signs stacked together?
    Also, what would be the currency for the place where people could buy and sell items in the arena, if not essentials money?
     
  7. Offline

    reider45


    I'll see if i can help out
     
  8. Offline

    mythbusterma

  9. Offline

    deploycraft

  10. Offline

    coolfire155

    Could you send me the jar? i dont really know how to use github. i downloaded the .zip which had a whole bunch of files in it but no jar.
     
  11. Offline

    mythbusterma


    That's because it's not finished, when it is finished I will upload a jar to the GitHub and BukkitDev. Right now it's just unfinished code that doesn't do what you want.


    Interesting plugin, but this isn't what the OP is looking for, the one the OP is looking for is two equal sides pitted against one another, not one on offense and the other on defense.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  12. Offline

    deploycraft

    Ahh right, Thanks.
     
  13. Offline

    coolfire155


    Ok :) cant wait to see it finished! thanks for making this plugin, its gonna me awesome =)
     
  14. Offline

    Shahblox

    Seems pretty legit lol
     
  15. Offline

    mythbusterma

    The plugin is coming along quite nicely, it uses WorldEdit to select a region and then stores a schematic when you create the arena, and then when the match is over it restores the schematic. Unfortunately, right now, the minimum and maximum players are not configurable per arena, only globally (if you need this changed let me know). Also, instead of Red and Green teams it's Red vs. Blue.

    I've also added a new group, "spectators," that can watch the match.
     
  16. Offline

    coolfire155

    Red and Blue are good =), the minimum and maximum players i would like to have per arena just so i can have smaller arenas with smaller players and other arenas i can have bigger arena and bigger amount of players, but its optional its just something i would like to have =] but you you don't have to do it.
     
  17. Offline

    mythbusterma

    What do you want them to use for currency in the arena? A special currency only for castlewars, or a configurable item?
     
  18. Offline

    jthort

    Runescape :)
     
  19. Offline

    coolfire155

    I would like the winning team to receive money using essentials economy, but if you are going to add an in-game shop where they can buy items to help them then yes for that i would like a currency special for castle wars.
     
  20. Offline

    coolfire155

    Also what is your minecraft UUID so i can give you Development rank on my server =) if you dont know your uuid then just tell me your minecraft name.
     
  21. Offline

    mythbusterma

    I'm almost ready to do some multiplayer testing, I've created sign shops, made signs you can use to join and all the arena management works. It also will keep track of players scores and the outcome of matches on the arena. Furthermore, it logs most of the events that happen to a log.txt. It's also extensible with an event system used to manage the starting of matches.

    P.S. My MineCraft username is "alright2"
     
  22. Offline

    mythbusterma

  23. Offline

    jpantonisse

  24. Offline

    coolfire155

    Hello, the plugin crashed when i started up my server with it and nothing works. here is the log.

    [18:26:25] [Server thread/INFO]: Starting minecraft server version 1.7.5
    [18:26:25] [Server thread/INFO]: Loading properties
    [18:26:25] [Server thread/INFO]: Default game type: SURVIVAL
    [18:26:25] [Server thread/INFO]: Generating keypair
    [18:26:25] [Server thread/INFO]: Starting Minecraft server on 25.0.232.195:25565
    [18:26:26] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks (MC: 1.7.5) (Implementing API version 1.7.5-R0.1-SNAPSHOT)
    [18:26:26] [Server thread/INFO]: [iDisguise] Loading iDisguise v3.0.4
    [18:26:26] [Server thread/INFO]: [Vault] Loading Vault v1.2.31-b411
    [18:26:26] [Server thread/INFO]: [WorldEdit] Loading WorldEdit v5.6.2
    [18:26:26] [Server thread/INFO]: [CastleWars] Loading CastleWars v0.0
    [18:26:26] [Server thread/INFO]: [Vault] Enabling Vault v1.2.31-b411
    [18:26:26] [Server thread/INFO]: [Vault] [Vault][Permission] SuperPermissions loaded as backup permission system.
    [18:26:26] [Server thread/INFO]: [Vault] [Vault] Enabled Version 1.2.31-b411
    [18:26:26] [Server thread/INFO]: Preparing level "false"
    [18:26:26] [Server thread/INFO]: Preparing start region for level 0 (Seed: -3827191951355914862)
    [18:26:26] [Thread-7/INFO]: ----- Bukkit Auto Updater -----
    [18:26:26] [Thread-7/INFO]: It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    [18:26:26] [Thread-7/INFO]: If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    [18:26:26] [Thread-7/INFO]: With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    [18:26:26] [Thread-7/INFO]: If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    [18:26:26] [Thread-7/INFO]: ----- ------------------- -----
    [18:26:26] [Server thread/INFO]: Preparing start region for level 1 (Seed: -3827191951355914862)
    [18:26:27] [Server thread/INFO]: Preparing start region for level 2 (Seed: -3827191951355914862)
    [18:26:27] [Server thread/INFO]: [iDisguise] Enabling iDisguise v3.0.4
    [18:26:27] [Server thread/INFO]: [iDisguise] iDisguise v3.0.4 enabled!
    [18:26:27] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v5.6.2
    [18:26:27] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API.
    [18:26:27] [Server thread/INFO]: [CastleWars] Enabling CastleWars v0.0
    [18:26:27] [Server thread/ERROR]: Error occurred while enabling CastleWars v0.0 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/mythbusterma/CastleWars/Serializables/ArenaData
    at com.mythbusterma.CastleWars.CastleWars.onEnable(CastleWars.java:295) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(CraftServer.java:441) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.MinecraftServer.n(MinecraftServer.java:344) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:426) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    Caused by: java.lang.ClassNotFoundException: com.mythbusterma.CastleWars.Serializables.ArenaData
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_45]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_45]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_45]
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_45]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_45]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_45]
    ... 12 more
    [18:26:27] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [18:26:28] [Server thread/INFO]: Done (1.831s)! For help, type "help" or "?"
    [18:26:29] [pool-3-thread-3/INFO]: [Vault] Checking for Updates:
    [18:26:29] [pool-3-thread-3/INFO]: [Vault] No new version available
    [18:26:29] [pool-3-thread-2/INFO]: [iDisguise] An update for iDisguise is available: null
     
  25. Offline

    mythbusterma

  26. Offline

    coolfire155

    Well right now i am working on a map for the arena so it might take a day (thats today) so you might be able to come on my server tomorrow and setup an arena for me.
     
  27. Offline

    mythbusterma


    What's the server IP? If it's not public you can PM it to me.
     
  28. Offline

    coolfire155

    Sorry something came up and im busy tomorrow, so sorry =(. Is friday good? and i will pm you the server IP on friday since its not public yet. And thank you for taking the time to look at my thread and making this plugin for me and the bukkit community, been waiting for one of my ideas to come true! =)
     
  29. Offline

    coolfire155

    Do you have skype? if you do can you PM me your skype name so we can talk on friday. it would be much easier than you talking to me via minecraft chat
     

Share This Page