• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
L4uR3n

Premium Plugins LuckyDrink 2.4.0

L4uR3n

THÀNH VIÊN
Tham gia
21/11/2018
Bài viết
4
[HIDE]Tested Minecraft Versions:
  • 1.7
  • 1.8
  • 1.9
  • 1.10
  • 1.11
  • 1.12
  • 1.13
NOTE: Plugins cần java 8 để hoạt động

Plugin này cho phép người chơi mua đồ uống may mắn bằng cách sử dụng ingame $, Tokens (từ TokenEnchant), Exp, ExpLevel hoặc thậm chí các vật phẩm. Sau khi mua đồ uống, người chơi có thể uống nó để xem liệu anh ấy có may mắn không! Nếu anh ấy may mắn, bạn sẽ nhận được phần thưởng! Chủ sở hữu máy chủ có thể đặt nhiều loại phần thưởng khác nhau dưới dạng thực thi lệnh (thưởng thêm $, Tokens, exp hoặc thậm chí các mục).


Commands: ( /ld)
  • /luckydrink help : displays the help menu
  • /luckydrink reload : reloads config.yml
  • /luckydrink give <player> <n:drinkname> <c:cost> <a:amount> <ch:winchance> <l:gainlore> <cmd:command>" : gives <player> a lucky drink whose name is "drinkname", and cost is "cost", amount is "amount", the chance of getting lucky is "winchance", the lore on the drink is "gainlore", and the command being executed upon being lucky is "command".

    For instance:

    >/ld give vk2gpz n:Gamble<s>Tokens! c:60Token a:1 ch:60 l:Let's<s>see! cmd:te<s>give<s>vk2gpz<s>1500

    Will give the player "vk2gpz" 1 drink with the 60% chance of being lucky and it will cost 60 Tokens. If vk2gpz is lucky when he drinks this, the command "te give vk2gpz 1500
    will be executed.

  • <c:cost> section supports:
    • $ -> c:50$
    • Token -> c:60Token
    • Exp -> c:15exp
    • ExpLevel -> c:2explvl
    • Item -> c:3DIAMOND_BLOCK (meaning it will cost 3 diamond blocks.)
      Or c: 4GOLDEN_APPLE1 (meaning it will cost 4 enchanted gapples.)
Permissions:
  • luckydrink.reload : /ld reload command
  • luckydrink.admin : /ld give command

NOTE: in order to place "space" in lucky drink's command, you can use "<s>", which will be replaced with " ".
Mã:
# +------------------------------------------------------------+ #

# LuckyDrink Configuration
# +------------------------------------------------------------+ #

# NOTE: Do NOT put tabs anywhere in the config!

Messages:
  ErrorMsg : "&c[LuckyDrink] Some error occured."
  LostMsg: "&c[LuckyDrink] Good Luck Next Time!"
  WinMsg: "&a[LuckyDrink] Congratz!"
  PlayerOffline: "&c[LuckyDrink] Player %player% is not online!"
  CostNotValid: "&c[LuckyDrink] The cost (%cost%) is not valid!"
  AmountNotValid: "&c[LuckyDrink] The amount (%amount%) is not valid!"
  WinningChanceNotValid: "&c[LuckyDrink] The winning hcance value (%chance%) is not valid!"
  NotEnoughMoney: "&c[LuckyDrink] Not enough moeny!"
  NotEnoughToken: "&c[LuckyDrink] Not enough token!"
  NotEnoughExp: "&c[LuckyDrink] Not enough exp!"
  NotEnoughItems: "&c[LuckyDrink] Not enough item!"

HelpMessages:
  banner:
    msg: "=== &e[&aLuckyDrink Commands List (%version%)&e] &r==="
  help:
    msg: "&a/luckydrink help : displays this help menu."
  reload:
    msg: "&a/luckydrink reload : reloads config file."
    permission: "luckydrink.reload"
  debug:
    msg: "&a/luckydrink debug <true|false> : turn on / off the debug mode."
    permission: "luckydrink.debug"
  give:
    msg: "&a/luckydrink give <player> <n:drinkname> <c:cost> <a:amount> <ch:winchance> <l:gainlore> <cmd:command>"

# ChanceLore must contain %chance% followed by a '%' character to indicate the chance of winning
ChanceLore: "&aChance to Win : %chance%%"

# if this option is true, the internal information will be
# stored in NBT
UseNBT: false

# unsuccessful command
# if the player was unluck,y this command will be executed
# if this option is set to "", nothing will be executed.
#Unsuccessful: "jail %player%"
UnsuccessfulCmd: ""

MoneySymbol: "$"
TokenSymbol: "Token"
ExpSymbol: "exp"
[/HIDE]


 
Hỏi về Plugin  Citizens

Đính kèm

Tác Dụng là j z bạn ??
 
NƯỚC UỐNG MAY MẮN HẢ
 
Back
Top Bottom