SkyWarsReloaded 1.0

SkyWarsReloaded is a complete rebuild of the original skywars using a world base map system instead

  1. Maluproductions
    VERSION 2.7 HAS BEEN RELEASED
    1. This version fixes many bugs.
    2. Completely removes multiverse and voidworld dependencies.
    3. Removes all reflection, replaced with abstraction (to reduce JVM overhead)
    4. Adds extra fireworks at game end.
    5. Adds Titles for 1.8 server versions. Just a taste, more will come. They are editable in the messages.yml.
    6. Adds a lobbyGuard option in the config. When enabled it will protect your lobby world without the need for external plugins. Admins can be given the swr.ignoreLobbyGuard permission so that they can make changes as normal.
    7. Adds better support for double chests. Double chests can be set to be always OP chests in the config.
    8. All game items can now be repositioned in the hotbar or menus.

    IMPORTANT:
    IF YOU ARE USING A PRE 1.8 BUILD OF SPIGOT.
    You will have to edit the Message.yml and make sure all scoreboard names are shorter than 16 characters. If not the game will through an error.

    Code (Text):
    game:
      scoreboard-players: '&a&lWarriors Left'
    scoreboard:
      title: '&4&l==SkyWars Stats=='
      money: '&a&lMoney: &f&l{value}'
      score: '&e&lScore: &f&l{value}'
      wins: '&b&lWins: &f&l{value}'
      kills: '&a&lKills: &f&l{value}'
      games-played: '&e&lGames Played: &f&l{value}'
      kd: '&b&lK/D: &f&l{value}'
    [​IMG]
    • Vault - Depend (must be installed)

    [​IMG]
    1. World Map Loading System
    2. Ability to use signs to join maps
    3. Very customizable
    4. In-game and Spectator Shops
    5. Kits
    6. Basic, Regular and OP Chest files including player voting for OP Chests
    7. Time Voting
    8. Weather Voting
    9. Jump Boost Voting
    10. Permanent Kits Shop
    11. Glass Color Shop
    12. Particle Effects Shop
    13. Projectile Trail Effects Shop
    14. BungeeMode (In development)

    [​IMG]
    1. Copy the Jar file to your plugins directory.
    2. Reboot your server to install.
    3. Edit the created config to choose your game settings, SQL settings(if you want to use SQL).
    4. Edit the chest.yml for the items you want to appear in chests (more detail below)
    5. Edit and create kits in the kit folder (more detail below)
    6. There is a test map pre-installed. All players need to do is use /swr join to join a game. You can also use or pressure plates or configure Sign Join Mode.
    7. Have Fun!

    [​IMG]
    • /swr join - Allows a player to join a game. The player is put in a queue and teleported to the lobby once the minimum number of players has joined the game
    • /swr quit - Allows the player to leave a joined game.
    • /swr start - Allows the player to force start a game.
    • /swr kit - Allows a player to open the kit menu.
    • /swr menu - Opens the lobby menu in Lobby and Options menu in game.
    • /swr shop - Opens a in-game shop.
    • /swr glassshop - Opens a menu where players can purchase glass colros.
    • /swr permkitshop - Opens a menu where players can purchase permanent kits.
    • /swr particleshop - Opens the particle effects shop
    • /swr trialshop - Opens the trail effects shop
    • /swr stats - Allows a player to view their skywars stats
    • /swr setspawn - Sets the spawn point where players are returned to on game quit
    • /swr spectate - Allows a user to spectate games in progress.
    • /swr reload - Reloads the config, chest.yml and kits
    • /swr list - List all maps currently available and indicates whether or not they are registered
    • /swr create <mapname> - Creates a map named <mapname>
    • /swr save <mapname> - Saves a map named <mapname> if it is currently being edited
    • /swr edit <mapname> - Edits the map named <mapname>
    • /swr delete <mapname> - Deletes the map named <mapname>.
    • /swr register <mapname> - Attempts to register a map named <mapname>.
    • /swr unregister <mapname> - Unregisters a map named <mapname>.
    • /swr games - List all games currenlty in progress (Game Number, MapName, Number of Players)
    • /swr endgame <gamenumber> - Ends the selected game (Use "all" to end all games)
    • /swr addpoints <playername> <points> - Adds points to the player.
    • /swr removepoints <playername> <points> - Removes points from the player.
    • /swr setglass <playername> <color> - Sets a players glass color.
    • /swr seteffect <playername> <effect> - Sets a players particle effect.
    • /swr setprojeffect <playername> <effect> - Sets a players particle effect.
    • /g - Used for global chat!

    [​IMG]
    • swr.play - Allows use of join, quit, kit, and stats command.
    • swr.spectate - Allows a player to use the spectate command.
    • swr.opchest – Allows the player to vote for OP chests in the game options.
    • swr.timevote – Allows the player to vote for time of day in the game options.
    • swr.jumpvote – Allows the player to vote for time of day in the game options.
    • swr.weathervote - Allows the player to vote for weather in the game optons.
    • swr.usecolor - Allows players to change their glass color in the game options.
    • swr.useeffect - Allows playesr to change their particle effects in the game options.
    • swr.useprojeffect - Allows a player to change the projectile trial effects in the game options.
    • swr.signs – Allows the player to create and destroy swr signs.
    • swr.global - Allows the player to use global chat.
    • swr.start - Allows the players to use the /swr start command.
    • swr.shop - Allows a player to use the shop command.
    • swr.spectateshop - Allows a player to use the spectator shop.
    • swr.admin - Allows use of setspawn, games, endgame, reload, addpoints, removepoints, setglass, seteffect, and setprojeffect commands.
    • swr.ignoreLobbyGuard - Allows the player to ignore the lobby guard (make changes to the lobby world)
    • swr.vip -gives the player the VIP Multiplier
    • swr.maps - Allows use of all map commands.
    • swr.kit.<kitname> - Allows a player to use a kit.
    • swr.kit.free.<kitname> - Allows a player to get a kit for free even if it costs balance
    • swr.permkits -allows a player to buy permanent kits (permanent kit price can be set in the <kitname>.yml.
    • swr.color - Allows a player to use color chat.
    • swr.colorshop - Allows the player to buy glass colors.
    • swr.colorglass.<glasscolor> - Allows a player to use a certain glass color. This permission is given to the player when they buy a color. (all the colors are listed and the prices can be changed in the glasscolors.yml).
    • swr.effectshop - Allows players to buy particle effects.
    • swr.effect.<effectname> - Allows a player to use a certain particle effect. This permission is given to the player when they buy a particle effect. (all the effects are listed and the prices can be changed in the particleeffects.yml).
    • swr.projeffectshop - Allows a player to buy Projectile Trail effects.
    • swr.projeffect.<effectname> - Allows a player to use a certain trail effect. This permission is given to the player when they buy a trail effect. (all the effects are listed and the prices can be changed in the projectileeffects.yml).

    [​IMG]
    Pressure Plates (Default Mode)
    Pressure plates can be placed anywhere in the world where /swr setspawn has been set. A player who walks on the pressure pad will be sent to an available game.

    Signs(Sign Join Mode)
    This mode can be enabled in the config. When this mode is enabled, players can only join games by clicking on a map sign. Each sign is linked to a map, so players can choose what map they want to play on (similar to bungee mode). The signs are setup as follows:

    line1: [swr]
    line2: <mapname>

    That's it. Then the game will create a game using that map that players can join through the sign. The signs are saved and will autostart the games whenever the game ends and when the server restarts. Keep in mind, a game is automatically created for each sign, so if you have 30 signs, you will have 30 games in memory on your server.

    In the config, there is an option signJoinMaterial. This can be set to WOOL, GLASS, CLAY, or NONE. This controls the material that will change behind or under the Join Signs (if set to NONE, the material won't change at all).

    New in 2.1.2: Pressure plates and the /swr join command now work with Sign Join Mode. When the player steps on a pressure plate or uses the join command they will be added to the fullest game.

    Skywars Maps
    The map system now uses world folders for the skywars maps. These are specifically created maps for the skywars plugin. You can create maps using the /swr create map command. If you want at this point, you can use worldedit to paste your schematic into the map. The boundaries of the map must be within the maxMapSize for beacons, signs and chests to register. The boundary coordinates that the map should be within are equal to +/-(maxMapSize/2).

    For Example:
    maxMapSize = 200
    Map Boundaries (-100, y, -100) to (100, y, 100)
    The y value does not matter.

    Instructions for Map Creation:
    1. /swr create <mapname> will create a blank map. Use this to build your map, placing beacons where you want spawnpoints and chests.
    2. Once you are finished creating your map use /swr save <mapname> to save the map to the maps directory.
    3. To register your map, so players can play on it, use /swr register <mapname>.
    4. If at any time you want to edit the map you created use /swr edit <mapname> and it will load the map so you can edit it.

    Color Glass Shop

    The permission swr.usecolor lets players open the menu where they can change their glass color under the options menu in game. To actually change their color they must have the swr.colorglass.<glasscolor>. Otherwise they will be told they do not have the permission to use that color within the menu.

    The permission swr.colorshop allows them to buy any color, but you can set the prices for each color in the config. When they purchase a color they are given the necessary permission to use the color in the game options menu. So you can make certain colors pretty well impossible to get by pricing them high or you can remove them from the shop by setting the price to -1 in the glasscolors.yml.

    Particle Effect Shop
    The permission swr.useeffect lets players open the menu where they can change their particle effects under the options menu in game. To actually change their color they must have the swr.effect.<effectname>. Otherwise they will be told they do not have the permission to use that effect within the menu.

    The permission swr.effectshop allows them to buy any effect, but you can set the prices for each effect in the config. When they purchase a effect they are given the necessary permission to use the effect in the game options menu. So you can make certain effects pretty well impossible to get by pricing them high or you can remove them from the shop by setting the price to -1 in the particleeffects.yml.

    Trail Effect Shop
    The permission swr.useprojeffect lets players open the menu where they can change their projectile trail effects under the options menu in game. To actually change their color they must have the swr.projeffect.<effectname>. Otherwise they will be told they do not have the permission to use that effect within the menu.

    The permission swr.projeffectshop allows them to buy any effect, but you can set the prices for each effect in the config. When they purchase a effect they are given the necessary permission to use the effect in the game options menu. So you can make certain effects pretty well impossible to get by pricing them high or you can remove them from the shop by setting the price to -1 in the projectileeffects.yml.

    Default Config


    Code (Text):
    #Default Config
    #gameSettings:
    #  signJoinMode: false     //When enabled, players can join games through signs.
    #  signJoinMaterial: wool   //This is the material that will show behind or under sign join signs. It can be set to wool, clay, glass or none.
    #  pressurePlateJoin: true   //When enabled, players can join games by stepping on stone pressure plates.
    #  allowSpectating: true   //Setting this to true will put players in spectator mode when they lose all their lives.
    #  enableLogFilter: true   //Enabling this filter allows SWR to remove the log spam created when worlds are loaded.
    #  useExternalEconomy: false   //if set to true, SWR with use your external economy plugin for shops and kits, as well as adding points for wins, kills, etc.
    #  disableWinBroadcast: false   //if set to true, only the players in the arena will see the winner message.
    #  noFallDamage: true       //if set to true, players will not receive fall damage while in game.
    #  noFallDamageLobby: false     //if set to true, players will not recieve fall damage in the lobby world.
    #  minPercentPlayers: 50   //The percentage of a full lobby, before players in queue are teleported and before a game will start.
    #  preGameTimer: 20       //The countdown time before the game starts once the minimum number of players are in the game.
    #  resetPreGameTimerOnJoin: true   //If set to true, the pregame timer will reset whenver a new player joins a game.
    #  resetPreGameTimerThreshold: 80   //This is the threshold based on the percentage of players in a game. If the number of players in the game is higher than the threshold, the timer will not restart.
    #  timeAfterGame: 10   //This is the amount of time after the end of a game, before the game shutsdown/restarts.
    #  maxMapSize: 200     //This is the maximum square size of the map.
    #  maxNumberOfGames: -1    //This is the maximum number of games possible on the server. If set to -1, it is unlimited.
    # maxGameLength: -1 //Sets the maximum length of the game in minutes. (Set to -1 for no limit).
    #  playerNameScoreboard: false    //When enabled, the in game scoreboard will show player names instead of Warriors Remaining.
    #  lobbyScoreBoardEnabled: false //When enable, a scoreboard showing player stats will be shown to players in the Lobby World.
    #  statsCommandCooldown: 60     //The amount of time a player has to wait to use the stats command again.
    #  clearInventoryOnJoin: false   //When set to true, a players inventory is cleared whenever they join the server.
    #  clearXPOnJoin: false     //When set to true, a players xp is cleared whenever they join the server.
    #  clearPotionEffectsOnJoin: false  //When set to true, a players potions effects are cleared whenever they join the server.
    #  addScorePrefix: true     //When set to true, a score prefix is added to player chat.
    #  useExternalChat: false   //When set to true, the plugin will use the external chat plugin.
    #points:
    #  pointsPerKill: 2     //number of points awarded per kill.
    #  pointsLostPerDeath: 1   //number of points lost per death.
    #  pointsLostPerLeave: 1   //number of points lost per leave.
    #  pointsPerWin: 10     //number of points awarded per win.
    #  vipMultiplier: 2     //The multiplier value added to points awarded to players with the swr.vip permission.
    #gameOptions:
    #  kitsEnabled: true   //enables kits
    #  shopsEnabled: true   //enables in game shop
    #  spectateShopEnabled: true   //enabled spectator shop
    #  opChestsEnabled: true   //enables OP Chest voting
    #  timeVoteEnabled: true   //enables Time voting
    #  jumpVoteEnabled: true   //enables Jump voting
    #  highJumpValue: 2       //sets the jump boost value of high jump.
    #  superJumpValue: 4     //sets the jump boost value of super jump.
    #  godJumpValue: 8       /sets the jump boost value of god jump.
    #  weatherVoteEnabled: true     //enables weather voting.
    #  lightningStrikeChance: 5     //chance that lightning will hit a random player during thunderstorm weather.
    #  colorGlassEnabled: true     //enables players to change their glass colors (with permissions)
    #  particlesEnabled: true     //enables players to change their particle effects (with permissions)
    #  trailEffectsEnabled: true   //enables players to change their trail effects (with permissions)
    #  lobbyMenuEnabled: true     //enables the lobby menu
    #  optionsMenuEnabled: true     //enables the in game options menu
    #  purchaseColorGlassEnabled: true   //enables the Color Glass shop
    #  purchaseParticlesEnabled: true   //enables the Particle Effects shop
    #  purchaseTrailEffectsEnabled: true   //enables the Trail Effects shop
    #  purchasePermanentKitsEnabled: true   //enables the Permanent Kit shop
    #  showKitItemsandPotionEffects: true  //when enabled, the items and potion effects are displayed in the kit info.
    #  doubleChestAlwaysOP: true     //when enabled, double chests are treated as OP chests (so you can have OP chests in the center of the map if you want)
    #lobbyGuard:
    #  enabled: false   //If enabled the items below will be enforced if set to true.
    #  hungerDisabled: true  //Players will not lose hunger in lobby.
    #  damageDisabled: true  //Player will not take damage in the lobby (Void damage will still be allowed).
    #  pvpDisabled: true  //PVP will be disabled in the lobby.
    #  playerBuildDisabled: true  //Players will not be able to build or break blocks in the lobby.
    #  playerInteractDisabled: true  //Players will not be able to interact with blocks/items/picture frames/etc in the lobby.
    #  weatherDisabled: true //When enabled the weather will always be clear in the lobby world.
    #  daylightCycleDisabled: true  //When enabled the time will always be Noon in the lobby world.
    #spawn:             //use setspawn command to set a spawn point where people are teleported when leaving a game. This must be set before any game can be created.
    #commandWhiteList:        //commands placed under the whitelist can be used by players ingame.
    # - '/swr quit'
    # - '/swr kit'
    # - '/swr shop'
    # - '/swr'
    #sqldatabase:
    #  enabled: false       //enable to store stats in a SQL database
    #  saveInterval: 5       //time in minutes between SQL database updates - how often the plugin sends player stats to the database
    #  hostname: localhost     //hostname of the SQL database
    #  port: 3306         //port of the SQL database
    #  database: database     //database being used
    #  username: username     //username for login to the SQL database
    #  password: password     //password for login to the SQL database
    #resaveDefaultMaps: false   //When set to true the plugin will reload the maps that came with the plugin.
    #bungeeMode:
    #  enabled: false       //When enabled, the plugin will work with the SkyWarsReloaded bungeeMode plugin.
    #  bungeeServerName: test   //The bungee cord name of the SkyWars server.
    #  lobbyServer: lobby     //The name of the server (as found in bungeecord) where players will be sent when the game ends.
    gameSettings:
      signJoinMode: false
      signJoinMaterial: wool
      pressurePlateJoin: true
      allowSpectating: true
      enableLogFilter: true
      useExternalEconomy: false
      disableWinBroadcast: false
      noFallDamage: true
      minPercentPlayers: 50
      preGameTimer: 20
      resetPreGameTimerOnJoin: true
      resetPreGameTimerThreshold: 80
      timeAfterGame: 10
      maxMapSize: 200
      maxNumberOfGames: -1
      maxGameLength: -1
      playerNameScoreboard: false
      lobbyScoreBoardEnabled: false
      statsCommandCooldown: 60
      clearInventoryOnJoin: false
      clearXPOnJoin: false
      clearPotionEffectsOnJoin: false
      addScorePrefix: true
      useExternalChat: false
    points:
      pointsPerKill: 2
      pointsLostPerDeath: 1
      pointsLostPerLeave: 1
      pointsPerWin: 10
      vipMultiplier: 2
    gameOptions:
      kitsEnabled: true
      shopsEnabled: true
      spectateShopEnabled: true
      opChestsEnabled: true
      timeVoteEnabled: true
      jumpVoteEnabled: true
      highJumpValue: 2
      superJumpValue: 4
      godJumpValue: 8
      weatherVoteEnabled: true
      lightningStrikeChance: 5
      colorGlassEnabled: true
      particlesEnabled: true
      trailEffectsEnabled: true
      lobbyMenuEnabled: true
      optionsMenuEnabled: true
      purchaseColorGlassEnabled: true
      purchaseParticlesEnabled: true
      purchaseTrailEffectsEnabled: true
      purchasePermanentKitsEnabled: true
      showKitItemsandPotionEffects: true
      doubleChestAlwaysOP: true
    gameItems:
      giveSpectateItem: true
      spectateItemSlot: 0
      giveLobbyMenuItem: true
      lobbyMenuItemSlot: 4
      giveJoinItem: true
      joinItemSlot: 8
      lobbyMenuItem: eye_of_ender 1 luck:1
      spectateItem: compass 1 luck:1
      joinItem: daylight_detector 1 luck:1
      exitGameItem: iron_door 1 luck:1
      exitItemSlot: 8
      kitMenuItem: storage_minecart 1 luck:1
      kitMenuItemSlot: 0
      kitPermMenuItem: storage_minecart 1
      kitPermMenuItemSlot: 2
      specStoreItem: anvil 1 luck:1
      specStoreItemSlot: 4
      opChestMenuItem: diamond 1
      opChestOptionMenuSlot: 3
      timeMenuItem: watch 1
      timeOptionMenuSlot: 5
      weatherMenuItem: glowstone 1
      weatherOptionMenuSlot: 7
      jumpMenuItem: diamond_boots 1
      jumpOptionMenuSlot: 1
      particleMenuItem: pumpkin_seeds 1
      particleLobbyMenuSlot: 20
      particleOptionsMenuSlot: 22
      trailEffectMenuItem: arrow 1
      trailEffectLobbyMenuSlot: 24
      trailEffectOptionsMenuSlot: 24
      optionsItem: cake 1 luck:1
      optionsItemSlot: 4
      glassMenuItem: stained_glass 1
      glassLobbyMenuSlot: 6
      glassOptionsMenuSlot: 20
    gameSounds:
      playerJoinLobby: SLIME_WALK2
      playerLeaveLobby: SLIME_ATTACK
      playerDeath: AMBIENCE_THUNDER
      playerWin: FIREWORK_LARGE_BLAST
      opChestVote: CHEST_OPEN
      timeVote: FUSE
      weatherVote: SPLASH
      jumpVote: MAGMACUBE_JUMP
    lobbyGuard:
      enabled: false
      hungerDisabled: true
      fallDamageDisabled: true
      damageDisabled: true
      pvpDisabled: true
      playerBuildDisabled: true
      playerInteractDisabled: true
      weatherDisabled: true
      daylightCycleDisabled: true
    spawn:
    commandWhitelist:
    - '/swr quit'
    - '/swr kit'
    - '/swr shop'
    - '/swr start'
    - '/swr'
    - '/g'
    spectatorWhitelist:
    - '/swr quit'
    - '/swr shop'
    sqldatabase:
      enabled: false
      saveInterval: 30
      hostname: localhost
      port: 3306
      database: database
      username: username
      password: password
    resaveDefaultMaps: true
    bungeeMode:
      enabled: false
      bungeeServerName: skywars
      lobbyServer: lobby
    Chests and Kits

    Chest population is handled by the Chest.yml file, the basicchest.yml file, and the opchest.yml file if you are using opChestVoting. You can edit these files to your liking.

    Code (Text):
    # The first value is the chance of the item appearing in a chest (out of 100)
    # The second value is the item, this should be the material name (as found on http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html)
    # The third value is the quantity that will show up in the chest.
    # For wood, potions, wool, dirt, etc (Any item that has type data), you can use a : followed by the numerical data for the item you want.
    # For example wood:2 would give you birch wood planks. You can find data values at: http://minecraft-ids.grahamedgecombe.com/
    # Potion data values can be found at: http://minecraft.gamepedia.com/Potion
    # Enchantments can be added using the enchantment name (written with no spaces) followed by a : and then the enchantment level number. http://minecraft.gamepedia.com/Enchanting/Levels

    items:
    # Random Stuff
    - 85 wood 6
    - 50 wood:2 12
    - 1 ender_pearl 1
    - 50 lava_bucket 1
    - 50 golden_apple 1
    - 25 golden apple 2
    - 15 wooden_sword 1 sharpness:1
    - 25 stone_sword 1
    - 15 stone_axe 1 sharpness:1
    - 5 iron_sword 1
    - 20 leather_chestplate 1 protection:1 thorns:1
    - 10 leather_helmet 1 protection:1 unbreaking:1
    - 10 leather_leggings 1 protection:1 fireprotection:1
    - 20 leather_boots 1 protection:1 featherfall:1
    Kits are made by creating or editing the data in the example.yml kit and saving them with the name of the kit.

    Code (Text):


    # The material this kit should have in the inventory menu
    icon: diamond_sword
    # The position the kit will hold in the inventory menu starting from the top left and moving right.
    # No two kits can use the same number. This value allows you to sort the kits however you want.
    menuPostion: 0
    # The cost of the kit (optional)
    cost: 15000000
    # The cost to buy the kit permanently (optional)
    permCost:15000000
    # Additional text added to the lores of the item in the inventory menu. You can use color codes at the start of each line. (optional)
    details:
    - '&aHello'
    - '&eHello'
    - '&dHello'
    - ' '
    # The items in this kit. First item should be the material name (as found on http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html)
    # The second number is the quantity of the item that will be given.
    # The third item and so on is for Enchantments. You can add multiple enchantments by putting a space between each one.
    items:
    - diamond_sword 1 sharpness:5
    - diamond_helmet 1 protection:4
    - diamond_chestplate 1 protection:4
    - diamond_leggings 1 protection:4
    - diamond_boots 1 protection:4
    # The potion effects give with this kit. First item should be the potion effect name (as found on http://minecraft.gamepedia.com/Status_effect). No Spaces.
    # The second number is length of time (in seconds) the effect lasts (-1 is Infinite).
    # The third item is the potion strength level.
    potionEffects:
    - strength -1 2
    - speed 30 1
    - fireresistance 300 3


    [​IMG]
    1. Material Names
    2. Potion Numbers
    3. Enchantment Names
    4. Sound Names
    HUGDE THX: i want to thank walrusone he made this plugin but he is to busy with school so i will update the plugin
    Author:
    walrusone
    Author:
    walrusone