[Plugin] UhcWar pour 1.9 et 1.8+

26 Août 2013
34
8
19
27
Bonsoir !

Récemment j'ai codé un plugin mini-jeux nommé "UhcWar". Ce plugin est un plugin Uhc, d'où le nom, mais revisité. En effet il y a que 4 équipes et le but de ce plugin est de rendre la partie de combat la plus intéressant et épique possible ! En effet la partie farm est grandement accéléré pour que les joueurs s’équipent au plus vite!
Je vous laisse la vidéo de présentation ainsi que le lien de téléchargement (sur spigot) !
De plus je vous spoil le fichier le configuration !

Code:
# /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ #
#                                                                       #
#                                                                         #
#                      UhcWar created by PokerDJ                       #
#                            version: 1.3.2                               #
#                                                                      #
#                                                                       #
# /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ #


# Thanks to have download this plugin ! PokerDJ


# ------------------------------------------------------------------------- #
# IMPORTANT: - Each time is in second                                       #
#            - Do not try to create bugs                                    #
#            - The WorldBorder can not move during the farm phase           # 
# ------------------------------------------------------------------------- #



# World name in which will unfold the game. Your other worlds will not be affected
world_name: UhcWar

# IP world in which will unfold the game. This lets you choose a world without ocean biome example
world_ip: -6547895565456254968
[/LEFT]
# Auto-restart the server (delete the world "world_name" and re-create it) when the game is finish. Else the server
# will close
auto_restart: true
[LEFT]

# Control of BungeeCord
bungeecord:

# Enable the bungeeCord
  enable: false

# Name of the back server
  name_back_server: mainServer



# Control of the game itself
game:

# Minimum number of players for the countdown begins
  min_player_to_begin: 2

# Number of seconds of the countdown before the teleportation
  time_to_start: 60

# Size of the arena (this number represents half of one side of the square, must be divisible by 4)
  size_of_the_map: 400

# Number of seconds before the PvP phase is activated
  time_before_fight: 300

# Possibility to join as a spectator
  can_join_during_game: true



# Configuration for schematics
schematics:

# Configuration on the schematic lobby
  lobby:

# Ability to activate the schematics lobby
    enable: true

# Name schematic lobby
    name: lobby

# Configuration on the schematics of the teams spawn
  team:

# Ability to activate the schematics of the teams spawn
    enable: true

# Name schematic spawn team
    name: spawnteam



# Configuration options for the game
option:

# Possibility of damage between members of the same team
  friendly_fire: false

# Life maximum allowed (20 = 10 hearts)
  max_health: 20

# Turn off hunger during the farm phase
  no_hunger_during_farm: true

# Disable the fall damage during the farm phase
  fall_damage_during_farm: true

# Configuration about weather
  time:

# Enable day
    day: true

# Enable night
    night: false

# Adjust the difficulty of the world (0 = peaceful, 1 = easy, 2 = normal, 3 = hard)
  difficulty: 2

# Configuration on the move speed
  speed_run:

# Enable the move speed
    enable: true

# Level
    lvl: 1

# Probability of having an apple when a leave breaks. This number should be between 0.01 and 1.00
  probability_to_get_an_apple: 0.05



# Configuration for WorldBorder
worldborder:

# Number of seconds before the border contracts. This is taken into account from the beginning of the PvP stage
  time_before_shrinking: 300

# Size of the arena at the end of the contraction. This represents half of a side of the square
  size_at_the_end: 50

# Number of seconds for border contracts
  time_during_shrinking: 1200



# Configuration drop on some blocks when broken
# Syntax: - '[block/item]-amount'
breakblock:
  coal_ore:
    drop_ID:
      - '50-2'
  iron_ore:
    drop_ID:
      - '265-2'
  gold_ore:
    drop_ID:
      - '266-2'
  diamond_ore:
    drop_ID:
      - '264-2'
  redstone_ore:
    drop_ID:
      - '331-2'
  emerald_ore:
    drop_ID:
      - '388-2'
  gravel:
    drop_ID:
      - '318-1'
      - '262-2'



# Configuration drop on some mobs
# Syntax: - '[block/item]-amount'
mobdrop:
  cow:
    - '334-2'
    - '364-3'
  pig:
    - '320-3'
  sheep:
    - '424-2'
  chicken:
    - '288-4'
    - '366-1'
  rabbit:
    - '412-2'
  spider:
    - '287-3'
  cave_spider:
    - '287-3'
    - '335-1'
  enderman:
    - '368-2'
  creeper:
    - '46-1'
  silverfish:
    - '260-1'
  skeleton:
    - '262-2'
    - '352-3'
  witch:
    - '322-1'
  zombie:
    - '391-1'



# Configuration for messages
message:
  prefix: '&7&l[&r&6UhcWar&r&7&l]&r '
  MOTD:
    waiting: '&a- Waiting for players ! '
    in_game: '&6- In game ! '
    impossible_to_join: '&c- Unable to join ! '
  team_name:
    red: 'Red'
    blue: 'Blue'
    green: 'Green'
    yellow: 'Yellow'
  game:
    player_join: '&e%player% &7joined the game ! '
    player_leave: '&e%player% &7left the game ! '
    player_die_deco: '&e%player%  &7died ! It remains &f%numPlayer% &7players in game '
    cant_join: '&cSorry you can not join the server yet '
    party_has_already_started: '&7The party has already started, you are a spectator ! '
  commands:
    t_join: '&3You join the team chat '
    t_leave: '&3You leave the team chat '
    forcestart_announce: '%prefix%&7The game will start by force !'
  team:
    team_full: '&cSorry, this team is full'
    join_team: '&eYou have joined team %colorTeam%%teamName% !'
  die:
    fall_on_ground: '&e%player% &7tried to fly ! It remains &f%numPlayer% &7players in game ! '
    lava: '&e%player% &7tried to swim in lava ! It remains &f%numPlayer% &7players in game ! '
    drowned: '&e%player%  &7has drunk too much ! It remains &f%numPlayer% &7players in game ! '
    kill_by: '&e%player% &7was killed by &e%killer% ! It remains &f%numPlayer% &7players in game ! '
    simple_die: '&e%player% &7died ! It remains &f%numPlayer% &7players in game ! '
    kick_message: '&aYou are dead, thank you for playing ! '
    respawn_message: '&7You are now spectator '
  inventory:
    nether_star:
      name: '&6&lUhc Menu'
      description: '&7Open the UHC menu'
    golden_apple:
      name: '&6&lTeam menu'
      description: '&7Open the team menu'
    bed:
      name: '&6&lLeave'
      description: '&7Back to the lobby'
  game_chat:
    teleportation: '&7Teleportation...'
    not_enouth_player: '&7There are not enough players to start the game...'
    starting_game: '&aThe game starts !'
    sec_invincibility: '&5You have 30 seconds of invincibility'
    vulnerable: '&5You are now vulnerable to damage'
    warning_pvp_min: '&7It remains &6%timeLeft% &7min before the fight'
    warning_pvp_sec: '&7It remains &6%timeLeft% &7sec before the fight'
    starting_fight: '&aThe fight starts !'
    skrinking_wall_soon: '&5The walls will soon skrink...'
    skrinking_wall_announce: '&eThe walls are skrinking ! Be careful not to get caught !'
    victory_message: '&aTeam %colorTeam%%teamName% &ahas won the game !'
    kick_thanks: '&aThank you for playing ! &4<3'





Lien du téléchargement du plugin:

https://www.spigotmc.org/resources/⊕-uhcwar-1-8-1-9-⊕-2-99€-for-20-first-buyers.19599/

Merci de dire ce que vous en pensez ! :)
 
Ce plugin marche sur un "mono" serveur (un seul serveur/une seule machine) ou prend à lui seul un serveur ? :)