[INACTIVE][FUN] Quarantine v0.7 - Survive the zombie horde!

Discussion in 'Inactive/Unsupported Plugins' started by DDoS, Aug 29, 2011.

  1. Offline

    DDoS

    Quarantine

    [​IMG]

    Survive the zombie horde!
    Quarantine lets you create special zones where mobs spawn and roam around, which players can then join to try to fight for their survival. To improve their odds, they can buy items or sell them. Quarantine has a localized economy, where players get money from killing mobs or selling items. It also has support for leaderboards backed by a Redis or MySQL database. You can lock buttons with keys (which players can buy). Also, the player's last health, inventory and locations are saved, so they can resume gameplay at any time. When exiting a zone, pre-game health is restored. This is a hard core survival game, if you die, all your data is deleted, and you loose all your score. Score is obtained by killing mobs, and can be set for each mob type.
    Requires WorldGuard, Regios or Residence to work

    Bukkit dev link: this
     
    Spiritwind likes this.
  2. Offline

    RclarkeeR

    can someone pleeease tell me how to work this? this looks awsome, and i really want to know how to use it, but im unsure how to set the spawns, make the lobby, etc, im pretty much cluless, please help
     
  3. Offline

    DDoS

    Did you read the instructions on the BukkitDev page?
     
  4. Offline

    JamieEllis94

    Whenever I attempt to load a zone I keep receiving the message: "Couldn't load zone zone1, unable to load config."

    I set 'zone1' and all of the subzones with world edit; from there I go to load the zone and receive the message^.

    Assistance would be greatly appreciated. Thanks!

    Code:
    Load_on_start:
      - 'zone1'
    Leaderboards:
      enabled: false
      type: mysql
      redis_db_info:
        host: 'localhost'
        port: 6379
      mysql_db_info:
        host: 'localhost'
        name: 'minecraft'
        port: 3306
        user: 'user'
        password: 'password'
    Zones:
      zone1:
        max_number_of_players: 10
        world: 'world'
        mob_check_task_interval: 300
        soft_mob_respawn: false
        clear_drops: true
        one_time_use_keys: false
        entrance:
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0
        lobby:
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0
        starting_money: 500
        starting_kit:
          - '276-1'
          - '310-1'
          - '311-1'
          - '312-1'
          - '313-1'
        money_rewards:
          - 'Zombie:25-40-20'
          - 'Skeleton:35-50-30'
          - 'Spider:15-18-6'
        sub_zones:
          subzone1:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone2:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone3:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone4:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone5:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone6:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone7:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone8:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone9:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone10:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone11:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone12:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone13:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone14:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
          subzone15:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              
     
  5. Offline

    DDoS

    There's something wrong with the location of the config inside your folder, or with the file name.
     
  6. Offline

    JamieEllis94

    Sorry, I'm relatively new with running servers, could you please elaborate on the solution? Thanks.

    The Config file is located in the Quarantine folder and named "config.yml"
     
  7. Offline

    DDoS

    This error "Couldn't load zone zone1, unable to load config" means that the config can't be accessed. The config at "plugins/Quarantine/config.yml" cannot be read.
     
  8. Offline

    SmexyPenguin18

    For the past 2 hours of so, I've been trying to set this up. I finally got it to work without any errors, but when I actually try to play, no mobs spawn at all. I set the subzones inside of the zone and tried moving them around a few times to see if that was the problem. No matter what I do, I can't get them to spawn.

    edit: I have also tried making the mobs respawn. The chat windows says monsters respawned, but monsters will still not spawn.
    Got it all working for myself now. I'm just a complete noob with permissions and have no idea how to set them for the default user.
    Every time I tackle one problem, another appears. I have everything running completely fine now, but there is just one small problem. When my friends(non-ops) hit anything in the arena, it says you are not permitted to build. It basically spams the hell out of their chat, so it is pretty damn annoying. I tried setting ownership for the zone to their specific usernames, but that made no difference.
     
  9. Offline

    DDoS

    Did you do this for the subzones too?
     
  10. Offline

    SmexyPenguin18

    I got everything up running successfully, and it's fun as hell. :)

    I just have one problem. My main zone is named 'horde'. I would like the server to load it on start up, but when ever I change the 'Load_on_start' to say horde, I get an error in the console during start up.

    When it's changed:
    Code:
    00:52:29 [INFO] [Quarantine] Enabling Quarantine v0.5.1
    00:52:29 [INFO] [Quarantine] WorldGuard detected.
    00:52:29 [INFO] [Quarantine] No Spout detected. Spout GUI disabled.
    00:52:29 [INFO] [Quarantine] Got SuperPerms permissions.
    00:52:29 [SEVERE] Error occurred while enabling Quarantine v0.5.1 (Is it up to d
    ate?)
    java.lang.NumberFormatException: For input string: "1 32"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at me.DDoS.Quarantine.zone.ZoneLoader.loadZoneData(ZoneLoader.java:128)
            at me.DDoS.Quarantine.zone.ZoneLoader.loadZone(ZoneLoader.java:165)
            at me.DDoS.Quarantine.Quarantine.loadStartUpZones(Quarantine.java:276)
            at me.DDoS.Quarantine.Quarantine.onEnable(Quarantine.java:97)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:336)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
            at org.bukkit.Bukkit.reload(Bukkit.java:182)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    73)
            at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.
    java:469)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    When it's left as 'zone1':
    Code:
    00:58:09 [INFO] [Quarantine] Enabling Quarantine v0.5.1
    00:58:09 [INFO] [Quarantine] WorldGuard detected.
    00:58:09 [INFO] [Quarantine] No Spout detected. Spout GUI disabled.
    00:58:09 [INFO] [Quarantine] Got SuperPerms permissions.
    00:58:09 [INFO] [Quarantine] Couldn't load main zone: zone1
    00:58:09 [INFO] [Quarantine] Couldn't load zone zone1 on start up.
    00:58:09 [INFO] [Quarantine] Plugin enabled. v0.5.1, by DDoS
     
  11. Offline

    DDoS

    Could you post your config?
     
  12. Offline

    SmexyPenguin18

    Code:
    Load_on_start:
    - zone1
    Leaderboards:
      enabled: false
      type: mysql
      redis_db_info:
        host: localhost
        port: 6379
      mysql_db_info:
        host: localhost
        name: minecraft
        port: 3306
        user: user
        password: password
    Zones:
      horde:
        max_number_of_players: 10
        world: world
        mob_check_task_interval: 300
        soft_mob_respawn: false
        clear_drops: true
        one_time_use_keys: false
        entrance:
          x: 311.7900646298107
          y: 68.0
          z: -124.12844878648318
          yaw: -270.00327
          pitch: 2.0999877
        lobby:
          x: 310.9127539862135
          y: 79.0
          z: -123.73207194875876
          yaw: -263.10327
          pitch: 19.80005
        starting_money: 35
        starting_kit:
        - 272-1 #stone sword#
        - 298-1 #leather helmet#
        - 299-1 #leather shirt#
        - 300-1 #leather pants#
        - 301-1 #leather boots#
        - 261-1 #bow#
        - 262-1 32 #arrows#
        money_rewards:
        - Zombie:10-15-5
        - Skeleton:15-20-6
        - Spider:15-18-6
        sub_zones:
          subzone1:
            number_of_mobs: 10
            mob_types:
            - Zombie
            - Spider
            - Skeleton
          subzone2:
            number_of_mobs: 10
            mob_types:
            - Zombie
            - Spider
          subzone3:
            number_of_mobs: 10
            mob_types:
            - Zombie
            - Skeleton
    
     
  13. Offline

    DDoS

    This line from the starting kit is invalid:

    - 262-1 32 #arrows#

    Maybe you meant

    - 262-32 #arrows#

    That should fix it, and replacing

    Load_on_start:
    - zone1

    with

    Load_on_start:
    - horde

    should load it automatically.
     
  14. Offline

    SmexyPenguin18

    Aha, that was it. Thanks a lot :)
     
  15. Offline

    DDoS

    No problem.
     
  16. Offline

    Mclovin

    So do you have to set up the regions after they are made in the config file, or can the regions be pre-set? I started building my quarantined prison and I went to test the plugin I selected the main area for the zone. and set up about 14 subzones. I used correct cases and names but when i wen to load the zone I got an internal server error. Any idea why? This happened a day or two ago so I don't have any console reports but I can post the config I was using if that would help.
    Code:
    Load_on_start:
      - 'q1'
    Leaderboards:
      enabled: false
      type: mysql
      redis_db_info:
        host: 'localhost'
        port: 6379
      mysql_db_info:
        host: 'localhost'
        name: 'minecraft'
        port: 3306
        user: 'user'
        password: 'password'
    Region_Provider_Plugin: WorldGuard
    Zones:
      q1:
        max_number_of_players: 10
        world: 'world'
        mob_check_task_interval: 300
        soft_mob_respawn: false
        clear_drops: false
        one_time_use_keys: true
        entrance:
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0
        lobby:
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0
        starting_money: 50
        kits:
          player:
            - '298-1'
            - '299-1'
            - '300-1'
            - '301-1'
            - '272-1'
            - '297-3'
          donator:
            - '306-1'
            - '307-1'
            - '308-1'
            - '309-1'
            - '267-1|16-2'
            - '364-3'
          admin:
            - '310-1'
            - '311-1'
            - '312-1'
            - '313-1'
            - '276-1|17-5|16-5'
            - '322-3'
        money_rewards:
          - 'Zombie:10-15-5'
          - 'Skeleton:15-20-6'
          - 'Spider:15-18-6'
        sub_zones:
          qz1:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
          qz2:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
          qz3:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Skeleton'
     
          qz4:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz5:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz6:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz7:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz8:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz9:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz10:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz11:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz12:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz13:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
     
          qz14:
            number_of_mobs: 10
            mob_types:
              - 'Zombie'
              - 'Spider'
              - 'Skeleton'
    
     
  17. Offline

    DDoS

    I need to see the error log.
     
  18. Offline

    Mclovin

    Okay I'll get that for you, but is there anything wrong with the config so far?
     
  19. Offline

    DDoS

    No, looks fine to me.
     
  20. Offline

    Mclovin

    Code:
    20.04 18:44:10 [Server] SEVERE Error occurred while enabling Quarantine v0.6 (Is it up to date?)
    20.04 18:44:10 [Server] INFO [Quarantine] Got SuperPerms permissions.
    20.04 18:44:10 [Server] INFO [Quarantine] No Spout detected. Spout GUI disabled.
    20.04 18:44:10 [Server] INFO [Quarantine] Will be using WorldGuard as a region provider.
    20.04 18:44:10 [Server] INFO [Quarantine] Enabling Quarantine v0.6
     
  21. Offline

    DDoS

    I need the stack trace too, that's just a notice, it doesn't tell me where the error occurred, or what it was.
     
  22. Offline

    Mclovin

    Code:
    21.04 03:55:26 [Server] INFO Reload complete.
    21.04 03:55:25 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    21.04 03:55:25 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    21.04 03:55:25 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    21.04 03:55:25 [Server] INFO    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
    21.04 03:55:25 [Server] INFO    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
    21.04 03:55:25 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
    21.04 03:55:25 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    21.04 03:55:25 [Server] INFO    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    21.04 03:55:25 [Server] INFO    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    21.04 03:55:25 [Server] INFO    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    21.04 03:55:25 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
    21.04 03:55:25 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    21.04 03:55:25 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    21.04 03:55:25 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    21.04 03:55:25 [Server] INFO    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    21.04 03:55:25 [Server] INFO    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    21.04 03:55:25 [Server] INFO    at me.DDoS.Quarantine.Quarantine.onEnable(Quarantine.java:101)
    21.04 03:55:25 [Server] INFO    at me.DDoS.Quarantine.Quarantine.loadStartUpZones(Quarantine.java:280)
    21.04 03:55:25 [Server] INFO    at me.DDoS.Quarantine.zone.ZoneLoader.loadZone(ZoneLoader.java:175)
    21.04 03:55:25 [Server] INFO    at me.DDoS.Quarantine.zone.region.provider.WorldGuardRegionProvider.getSpawnRegion(WorldGuardRegionProvider.java:48)
    21.04 03:55:25 [Server] INFO java.lang.NullPointerException
    21.04 03:55:25 [Server] SEVERE Error occurred while enabling Quarantine v0.6 (Is it up to date?)
    21.04 03:55:25 [Server] INFO [Quarantine] Got SuperPerms permissions.
    21.04 03:55:25 [Server] INFO [Quarantine] No Spout detected. Spout GUI disabled.
    21.04 03:55:25 [Server] INFO [Quarantine] Will be using WorldGuard as a region provider.
    21.04 03:55:25 [Server] INFO [Quarantine] Enabling Quarantine v0.6
     
  23. Offline

    DDoS

    Try the latest version (o.7), that bug should be fixed.
     
  24. Offline

    GrUfFaLo15

    Get on my server dedicated to Quarantine!
    IP: 176.9.139.8:25574
     
  25. Offline

    Toreymickle

    Looks like a great plugin i downloaded everything and what not, but for some reason i cant use any commands. Same thing happened when i downloaded a different plugin no commands were working, is there a plugin i have to download that fixes that or something?
     
  26. Offline

    evanw

    How about settings for zombie damage, player health, old-school health (no hunger bar, food goes straight to health), or different types of zombies?
     
  27. Offline

    DDoS

    That mostly requires reflection, which is a rather complex coding method that will also cause breakage for every Minecraft update. I'm waiting for the official API for this, which should make this much easier (hopefully).
     
  28. Offline

    Mclovin

    People on my server keep getting a message saying they don't have permission to use quarantine commands. They have the quarantine.play permission already. When I reload the plugins they are able to join but later in the day it tells them they don't have permission again. I'm using essentials group manager.
     
  29. Offline

    DDoS

    That's not related to Quarantine, I can't help you.
     
  30. Offline

    Mclovin

    You have no idea why its doing it? Nothing pops up in the console and it doesn't do it to all players, only certain players. (They don't have any different permissions that other people that are able to do it.)
     
  31. Offline

    DDoS

    No, I have no idea on what's causing your problem.
     

Share This Page