This plugin is a mini game where you have to do MLG
Command:
/mlg <player>: allows you to tp the player at 200 blocks high and give him a bucket of water which he will remove after the MLG
/dropper <player> : Place blocks (3x3) with a water source on the blocks and the player is teleported up and has to land in the water source
/flat <length> <width> <block>: allows to have the specified block with the given dimensions
Screenshot :
The message on the screen when you are teleported
Code (Text):
mlg:
#The message that appears in the chat of the player who must do the MLG
message: "&aYou do a MLG !"
#When the command has no problem is that it was executed correctly
validation-message: "&aYou just sent a player to an MLG!"
#When the bucket is taken away from the players
bucket-delete: "&eYour water bucket has been deleted."
#When the command is incorrectly executed
usage: "&cUsage: /mlg <player>"
flat:
# The correct use of the command
usage: "&cUsage: /flat <length> <width> <block>"
# when the command has been executed
executed: "&aSoil created successfully."
# Error when the numbers are badly dictated
error1: "&cLength and width must be whole numbers."
# When the block is invalid
error2: "&cThe specified block is invalid."
# if the dimensions are too large (to avoid lag)
error3: "&cDimensions must be less than 100 blocks"
dropper:
#The message that appears in the chat of the player who must do the dropper
message: "&aLand on the water source"
#When the command is incorrectly executed
usage: "&cUsage: /dropper <player>"
#When the command has no problem is that it was executed correctly
executed: "&aThe Dropper command has been executed on the player"
Messages:
#If the player does not have the required permission to order
no-permission: "&cYou don't have §lpermission §r§cto use this command"
#If the command is made by the console but possible only by a player
console-error: "This command must be executed by a player!"
#If the player is not online during a command
offline: "&cThe specified player is offline!"
La config est à copier coller dans le fichier config.yml
Code (Text):
mlg:
#Le message qui apparaît dans le chat du joueur qui doit faire la MLG
message: "&aVous faites un MLG !"
#Quand la commande n'a pas de problème c'est qu'elle a été exécutée correctement
validation-message: "&aVous venez d'envoyer un joueur dans un MLG!"
#Quand le seau est retiré aux joueurs
bucket-delete: "&eVotre seau d'eau a été supprimé."
#Lorsque la commande est mal exécutée
usage: "&cUsage: /mlg <player>"
flat:
# L'utilisation correcte de la commande
usage: "&cUtiliser: /flat <longueur> <largeur> <block>"
# lorsque la commande a été exécutée
executed: "&aSol créé avec succès."
# Erreur lorsque les nombres sont mal dictés
error1: "&cLa longueur et la largeur doivent être des nombres entiers."
# Lorsque le bloc est invalide
error2: "&cLe bloc spécifié n'est pas valide."
# si les dimensions sont trop grandes (pour éviter les décalages)
error3: "&cLes dimensions doivent être inférieures à 100 blocs"
dropper:
#Le message qui apparaît dans le chat du joueur qui doit faire le dropper
message: "&aAtterrir sur la source d'eau"
#Lorsque la commande est mal exécutée
usage: "&cUsage: /dropper <player>"
#Quand la commande n'a pas de problème c'est qu'elle a été exécutée correctement
executed: "&aLa commande Dropper a été exécutée sur le joeur"
Messages:
#Si le joueur n'a pas l'autorisation requise pour commander
no-permission: "&cVous n'avez pas la §lpermission §r§cpour utiliser cette commande"
#Si la commande est faite par la console mais possible uniquement par un joueur
console-error: "Cette commande doit être exécutée par un joueur!"
#Si le joueur n'est pas en ligne lors d'une commande
offline: "&cLe joueur spécifié est hors ligne!"