Survival Games Core 1.2.1

A survival games plugin with it's own events and API to customize the entire game to your liking!

  1. MrHodge
    [​IMG]
    Please use the LATEST version of Spigot or Craftbukkit for this plugin to work properly.

    About:

    Survival Games Core is better than the normal survival games plugin! This was made to speed up the process of creating a survival games plugin with your very own special features. With Survival Games Core you can control everything with the configuration files, the API and the Events.


    This plugin should be ran on a server dedicated to Survival Games. You cannot run any other Minigame with this plugin on the same server.

    Features:
    • Game status in server list MOTD
    • Events and API for customization of the plugin to make it right for your server.
    • Spectators and Ghost players
    • Multiple Maps
    • Map voting
    • /sgcore reload/start/stop/disable commands
    • Custom crate items
    • Chests randomly filled on open
    • Option to enable/disable mobs
    • Option to enable/disable items staying on the ground when the game restarts
    • Pre Deathmatch
    • Deathmatch
    • All messages are editable
    • No explosion damage
    • Automatic ignite TNT
    • List of placeable and breakable blocks
    • Random selection of maps from the config
    • Fireworks when game is over
    • Anvil drop when there is no winner
    + more adding to the list soon!

    Java docs for developers:

    https://mrhodge.com/plugins/sgcore/apidocs/

    In the future I will create official add-ons for this plugin, however anyone is more than welcome to create and post their addons for free or for a price. I do plan to setup a website and have a community backing this project!

    Config.yml (EXAMPLE):
    Code (Text):
    PREFIX: '&7[&cSGC&7]&f'

    DEBUG: false
    NO_MOBS: true
    REMOVE_ITEMS: true
    BROADCASTS:
      LOBBY_INTERVAL: 60 #in seconds
      GAME_INTERVAL: 150 #in seconds
      DEATHMATCH_INTERVAL: 60 #in seconds
    GAME:
      MAXIMUM_MAPS: 4 #Amount of maps per game
      REQUIRED_PLAYERS: 12 #Amount needed to start game
      DEATHMATCH_PLAYERS: 4 #Amont needed to start deathmatch
      AUTO_PRIMED_TNT: true
      LIGHTNING: true #on death
      FIREWORKS: true #on game win
      SHORTEN_TIME: 120 #Time to shorten to when the amount of players needed for deathmatch is reached.
      LOBBY_TIME: 60 #in seconds
      PREGAME_TIME: 30 #in seconds
      GAME_TIME: 1800 #in seconds
      PREDEATHMATCH_TIME: 10 #in seconds
      DEATHMATCH_TIME: 300 #in seconds
      SHUTDOWN_TIME: 10 #in seconds
    BREAKABLE_BLOCKS:
    - 18
    - 39
    - 40
    - 161
    - 31
    - 30
    - 46
    - 51
    PLACEABLE_BLOCKS:
    - 30
    - 46
    - 51

    Crates.yml (EXAMPLE):
    Code (Text):
    MAX_AMOUNT_IN_CRATE: 10

    MIN_AMOUNT_IN_CRATE: 2
    TIER1:
      '1':
        ITEM_ID: '271'
        MAX_AMOUNT: 1
        CHANCE: 50
      '2':
        ITEM_ID: '301'
        MAX_AMOUNT: 1
        CHANCE: 50
      '3':
        ITEM_ID: '262'
        MAX_AMOUNT: 16
        CHANCE: 70
      '4':
        ITEM_ID: '280'
        MAX_AMOUNT: 2
        CHANCE: 80
      '5':
        ITEM_ID: '259'
        USES: 5
        MAX_AMOUNT: 2
        CHANCE: 70
      '6':
        ITEM_ID: '346'
        MAX_AMOUNT: 1
        CHANCE: 10
      '7':
        ITEM_ID: '282'
        MAX_AMOUNT: 2
        CHANCE: 40
      '8':
        ITEM_ID: '297'
        MAX_AMOUNT: 2
        CHANCE: 40
      '9':
        ITEM_ID: '288'
        MAX_AMOUNT: 4
        CHANCE: 35
      '10':
        ITEM_ID: '46'
        MAX_AMOUNT: 2
        CHANCE: 15
      '11':
        ITEM_ID: '268'
        MAX_AMOUNT: 1
        CHANCE: 30
      '12':
        ITEM_ID: '272'
        MAX_AMOUNT: 1
        CHANCE: 15
      '13':
        ITEM_ID: '302'
        MAX_AMOUNT: 1
        CHANCE: 20
      '14':
        ITEM_ID: '304'
        MAX_AMOUNT: 1
        CHANCE: 20
      '15':
        ITEM_ID: '315'
        MAX_AMOUNT: 1
        CHANCE: 30
    TIER2:
      '1':
        ITEM_ID: '346'
        MAX_AMOUNT: 1
        CHANCE: 50
      '2':
        ITEM_ID: '262'
        MAX_AMOUNT: 16
        CHANCE: 40
      '3':
        ITEM_ID: '261'
        MAX_AMOUNT: 1
        CHANCE: 20
      '4':
        ITEM_ID: '309'
        MAX_AMOUNT: 1
        CHANCE: 15
      '5':
        ITEM_ID: '303'
        MAX_AMOUNT: 1
        CHANCE: 12
      '6':
        ITEM_ID: '322'
        MAX_AMOUNT: 1
        CHANCE: 4
      '7':
        ITEM_ID: '265'
        MAX_AMOUNT: 2
        CHANCE: 2
      '8':
        ITEM_ID: '322'
        MAX_AMOUNT: 1
        CHANCE: 4
      '9':
        ITEM_ID: '267'
        MAX_AMOUNT: 1
        CHANCE: 10
      '10':
        ITEM_ID: '262'
        MAX_AMOUNT: 32
        CHANCE: 4
      '11':
        ITEM_ID: '322'
        MAX_AMOUNT: 1
        CHANCE: 4
      '12':
        ITEM_ID: '261'
        MAX_AMOUNT: 1
        CHANCE: 50
      '13':
        ITEM_ID: '280'
        MAX_AMOUNT: 2
        CHANCE: 56
      '14':
        ITEM_ID: '354'
        MAX_AMOUNT: 1
        CHANCE: 10
      '15':
        ITEM_ID: '307'
        MAX_AMOUNT: 1
        CHANCE: 17
    TIER3:
      '1':
        ITEM_ID: '264'
        MAX_AMOUNT: 1
        CHANCE: 10
      '2':
        ITEM_ID: '307'
        MAX_AMOUNT: 1
        CHANCE: 80
     

    Maps.yml (EXAMPLE):
    Code (Text):
    SG1:

      CREATED_BY: TORGaming
      DATE_CREATED: 2014-08-06T08:41:56.487Z
      MAP:
        RADIUS: 200
        CENTER:
          X: -291
          Y: 71
          Z: -282
          WORLD: world
      DM:
        RADIUS: 30
        CENTER:
          X: -291
          Y: 71
          Z: -282
          WORLD: world
      GHOSTSPAWN:
        X: -291
        Y: 80
        Z: -282
        YAW: -90.2514
        PITCH: 90.0
        WORLD: world
      START_MESSAGE:
      - '%PREFIX% &c&m==============================================='
      - '%PREFIX% &7This is a line'
      - '%PREFIX% &5This is another line'
      - '%PREFIX% &aThis is another line'
      - '%PREFIX% &c&m==============================================='
    SG2:
      CREATED_BY: TORGaming
      DATE_CREATED: 2014-08-08T00:59:26.853Z
      MAP:
        RADIUS: 200
        CENTER:
          X: -109
          Y: 66
          Z: -300
          WORLD: world
      DM:
        RADIUS: 30
        CENTER:
          X: -109
          Y: 66
          Z: -300
          WORLD: world
      GHOSTSPAWN:
        X: -109
        Y: 78
        Z: -300
        YAW: -359.49896
        PITCH: 90.0
        WORLD: world
      START_MESSAGE:
      - '%PREFIX% &c&m==============================================='
      - '%PREFIX% &7This is a line'
      - '%PREFIX% &5This is another line'
      - '%PREFIX% &aThis is another line'
      - '%PREFIX% &c&m==============================================='
    SG3:
      CREATED_BY: TORGaming
      DATE_CREATED: 2014-08-08T16:59:20.576Z
      MAP:
        RADIUS: 200
        CENTER: '{}'
      DM:
        RADIUS: 30
        CENTER: '{}'
      GHOSTSPAWN: '{}'
      START_MESSAGE:
      - '%PREFIX% &c&m==============================================='
      - '%PREFIX% &7This is a line'
      - '%PREFIX% &5This is another line'
      - '%PREFIX% &aThis is another line'
      - '%PREFIX% &c&m==============================================='
     

    Spawns.yml (EXAMPLE):
    Code (Text):
    LOBBY:

      X: -240
      Y: 71
      Z: -264
      YAW: -175.9499
      PITCH: 1.2500323
      WORLD: world
    MAPS:
      SG1:
        '1':
          X: -285
          Y: 69
          Z: -282
          YAW: -270.55057
          PITCH: 2.0999503
          WORLD: world
        '2':
          X: -287
          Y: 69
          Z: -286
          YAW: -313.75082
          PITCH: 4.649954
          WORLD: world
        '3':
          X: -291
          Y: 69
          Z: -288
          YAW: -1.6007385
          PITCH: 6.749949
          WORLD: world
        '4':
          X: -295
          Y: 69
          Z: -286
          YAW: -44.80072
          PITCH: 3.2999563
          WORLD: world
        '5':
          X: -297
          Y: 69
          Z: -282
          YAW: -90.85074
          PITCH: 5.249947
          WORLD: world
        '6':
          X: -295
          Y: 69
          Z: -278
          YAW: -135.10059
          PITCH: 6.7499757
          WORLD: world
        '7':
          X: -291
          Y: 69
          Z: -276
          YAW: -181.00055
          PITCH: 9.149981
          WORLD: world
        '8':
          X: -287
          Y: 69
          Z: -278
          YAW: -226.45062
          PITCH: 5.0999937
          WORLD: world
      SG2:
        '1':
          X: -118
          Y: 63
          Z: -300
          YAW: -89.050255
          PITCH: 6.7499766
          WORLD: world
        '2':
          X: -115
          Y: 63
          Z: -294
          YAW: -133.45029
          PITCH: 4.799982
          WORLD: world
        '3':
          X: -109
          Y: 63
          Z: -291
          YAW: -180.70033
          PITCH: 4.499978
          WORLD: world
        '4':
          X: -103
          Y: 63
          Z: -294
          YAW: -225.1004
          PITCH: 5.249978
          WORLD: world
        '5':
          X: -100
          Y: 63
          Z: -300
          YAW: -269.95038
          PITCH: 2.3999686
          WORLD: world
        '6':
          X: -103
          Y: 63
          Z: -306
          YAW: -316.90018
          PITCH: 6.1499834
          WORLD: world
        '7':
          X: -109
          Y: 63
          Z: -309
          YAW: -359.50015
          PITCH: 8.399985
          WORLD: world
        '8':
          X: -115
          Y: 63
          Z: -306
          YAW: -46.600067
          PITCH: 3.4499705
          WORLD: world
     

    Lang.yml (EXAMPLE):
    Code (Text):
    # Game State for the server list MOTD

    GAMESTATE:
      LOBBY: '&bLobby'
      PREGAME: '&dPre Game'
      GAMESTARTED: '&aGame Started'
      PREDEATHMATCH: '&dPre Deathmatch'
      DEATHMATCH: '&cDeathmatch'
    BROADCASTS:
      REQUIRED_PLAYERS: '%PREFIX% &a%AMOUNT% &7%STRING% needed to start the game.'
      PLAYER_VOTED: '%PREFIX% &e%USERNAME% &7voted for &a%MAP% &7(&a/vote %NUM%&7)'
      NEXTMAP: '%PREFIX% &cNext map: &a%NEXTMAP%'
      REMAINING_PLAYERS: '%PREFIX% &a%AMOUNT% &7%STRING% remaining.'
      LOBBY_ENDING: '%PREFIX% &7Lobby ending in &a%TIME%'
      GAME_STARTING: '%PREFIX% &7Game starting in &a%TIME%'
      GAME_STARTED: '%PREFIX% &7Game started!'
      GAME_ENDING: '%PREFIX% &cDeathmatch starts in &a%TIME%'
      DEATHMATCH_STARTING: '%PREFIX% &cDeathmatch &7starting in &a%TIME%'
      DEATHMATCH_STARTED: '%PREFIX% &cDeathmatch &7started!'
      DEATHMATCH_ENDING: '%PREFIX% &cDeathmatch &7ending in &a%TIME%'
      GAME_OVER_WINNER: '%PREFIX% &7%WINNER% won the game!'
      GAME_OVER_NO_WINNER: '%PREFIX% &cNo winner!'
      SHUTDOWN: '%PREFIX% &cServer restarting in &a%TIME%'
      VOTES:
        LAYOUT: '%PREFIX% &7/vote &a%NUM% &cMap: &a%MAP% &cVotes: %VOTES%'
        LINE: '%PREFIX% &c&m-----------------------------'
    JOIN: '%PREFIX% &e%USERNAME% &7joined the game.'
    QUIT: '%PREFIX% &e%USERNAME% &7left the game.'
    KICK_MESSAGE: '%PREFIX% &cServer restarting.'
    HELP:
    - '%PREFIX% &c&m-----------------------------'
    - '%PREFIX% &7To vote for a map type "&a/vote&7"'
    - '%PREFIX% &7Visit our website:'
    - '%PREFIX% &bhttp://example.com'
    - '%PREFIX% &c&m-----------------------------'
    VOTESUCCESS: '%PREFIX% &7Your vote was added.'
    VOTE_MAP_NOT_FOUND: '%PREFIX% &7That map was not found.'
    ALREADY_VOTED: '%PREFIX% &7You cannot vote again.'

    This plugin is free and it will remain so, with that said, I spent a ton of hours working for free on this plugin and my coffee is running out. If you are so kind and wish to donate to this project to keep me motivated please click the button or link below.


    [​IMG]
    This plugin utilizes mcstats.org's Metrics. This can be disabled by going to the folder named PluginMetrics in the plugins folder, edit the config and set opt-out: true. This will disable metrics completely and not only for this plugin.

    License and terms
    License in simpler terms...

Recent Updates

  1. Uploaded file to spigot
  2. Updated link
  3. Fixed download link.

Recent Reviews

  1. Philanthropist
    Philanthropist
    5/5,
    Version: 1.2.1
    PLEASE PLEASE PLEASE somebody update this to 1.11.2. It was such a good plugin and it still partially works, but certain features are now broken such as any player can create a new arena; it doesnt require permission. Also, the game doesnt start until you force start it; the same happens for deathmatch. The server doesnt restart when soemone wins either. And idk if this has to do with the updates but wooden swords appear in chests instead of flint and steel
    1. MrHodge
      Author's Response
      I am in the process of updating the plugin to the latest version of Spigot :)
  2. Diamond__Spider
    Diamond__Spider
    5/5,
    Version: 1.2.1
    Does this work in 1.9? This plugin would really be perfect for my server but my server is 1.9. If not, can you or someone please update this? Thanks.
  3. zStixz
    zStixz
    4/5,
    Version: 1.2.1
    Hello again! Maybe You can add a Join Sign :P I really need it. :D


    ..............................
  4. yazen4Gamer
    yazen4Gamer
    5/5,
    Version: 1.2.1
    cool Plugin Tanks Main.
    ...........................................
    .....................................
    ...............................
    .........................
    ......................
    ..................
    ..............
    ............
    .........
    ......
  5. Tanju42
    Tanju42
    4/5,
    Version: 1.2.1
    Can you add MySQL support ?
    And a hologram with stats ?
    when you can do that than i like youre pluign realy

    sry for bad english i speak german :c
    Lg Tanju42
  6. Boggled_
    Boggled_
    5/5,
    Version: 1.2.1
    Best plugin but plz upload the source of the plugin if u can (: i have qsg but not sg so i want normal sg with tier 1 and 2
  7. akiva
    akiva
    4/5,
    Version: 1.2.1
    Great plugin but only issue is that you cant have a rewards system example every time someone is killed the server can run a command(s) and so on
  8. Boggled_
    Boggled_
    5/5,
    Version: v 1.2.1
    i downloaded the plugin before it was good but the link is broken now and i u can add tier 1 and tier 2 chests like i but in the spawn tier 2 and other tier1 i cant if u make it it will be exlanet
    (:
  9. TheDawgyDog
    TheDawgyDog
    5/5,
    Version: v 1.2.1
    Excellent! But please make it so it can still be run with other mini games on a server.

    - TheDawgyDog
  10. Vaxlat
    Vaxlat
    4/5,
    Version: v 1.2.1
    Can you please fix the chest? The loots are not separated.