Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Releases: diamond-rip/Eden

1.0-BETA-f6e2e80

22 Sep 09:19
Compare
Choose a tag to compare
1.0-BETA-f6e2e80 Pre-release
Pre-release

Changes and fixes:

  • Changed Party.getByPlayer function to get the party from PlayerProfile. This can save performance by not looping the parties list.
  • Added "Create Event" item in item.yml

item.yml addition:

items:
  create-event:
    name: "&bCreate Event &7(Right-Click)"
    lore:
      - ""
    material: EYE_OF_ENDER
    durability: 0
    slot: 2

1.0-BETA-8cbdb1d

22 Sep 23:06
Compare
Choose a tag to compare
1.0-BETA-8cbdb1d Pre-release
Pre-release

Changes and fixes:

  • Event are now translate-able in language.yml. This requires language file update.

For more information, please check out the commit of this update

language.yml addition: (For English users)

event:
  event-is-running: "&cThere's no active event!"
  event-is-not-running: "&cThere's already an active event!"
  event-already-started: "&cEvent already started!"
  no-available-status: "&cThis event has no available status to view!"
  wrong-state: "&cYou must be in lobby to do this!"
  auto-create-party-because-need-a-party: "&7[&bEvent&7] &eYou have been automatically created a party because event requires to be in a party to join!"
  party-size-over: "&cYour party team members count is higher than {0}. The current event only allows maximum {0} player(s) per team"
  auto-set-party-size: "&7[&bEvent&7] &eYour party maximum size has been corrected to &b&l{0} &ebecause you joined an event."
  cannot-use-this-command: "&cYou cannot use this command when you are in an event"
  leave-event-because-party-disband: "&eBecause of your party disbanded, your party has been automatically removed from the event"
  leave-event-because-error: "&cError: System Error. You have been automatically remove from the event"
  event-create-menu:
    title: "Create an Event"
    button:
      name: "&b{0}"
      lore:
        click-to-create-event: "&e&nClick me to setup the Event!"
        no-permission: "&cYou don't have permission to host this event!"
  event-select-kit-menu:
    title: "Choose Event's Kit"
    button:
      name: "{0}"
      lore:
        - ""
        - "&e&nClick me to choose this kit!"
  event-settings-menu:
    title: "Event Settings"
    max-players-button:
      name: "&bMaximum Players"
      lore:
        - ""
        - "&fCurrent Maximum Players: &b{0}"
        - ""
        - "&aLEFT CLICK &fto increase Maximum Players by 1"
        - "&aSHIFT + LEFT CLICK &fto increase Maximum Players by 10"
        - ""
        - "&cRIGHT CLICK &fto decrease Maximum Players by 1"
        - "&cSHIFT + RIGHT CLICK &fto decrease Maximum Players by 10"
        - ""
        - "&e&nClick to change Maximum Players!"
    party-size-button:
      name: "&bTeam Size"
      lore:
        - ""
        - "&fCurrent Team Size: &b{0}"
        - ""
        - "&aLEFT CLICK &fto increase Team Size by 1"
        - "&cRIGHT CLICK &fto decrease Team Size by 1"
        - ""
        - "&e&nClick to change Team Size!"
    kit-button:
      name: "&bKit"
      lore:
        - ""
        - "&fCurrent Selected Kit: &b{0}"
        - ""
        - "&e&nClick to change a Kit!"
    start-button:
      name: "&bStart Event"
      lore:
        - ""
        - "&fEvent: &b{0}"
        - "&fMinimum Players: &b{1}"
        - "&fMaximum Players: &b{2}"
        - ""
        - "&e&nClick to start Event!"
  event-create:
    message: "&7[&bEvent&7] &b{0} &fis hosting a &b{1} &fevent! "
    clickable:
      message: "&a(Click To Join)"
      hover: "&eClick Me To Join!"
  party-name-format: "'s Team"
  event-join:
    message: "&7[&bEvent&7] &b{0} &fjoined &b{1} &7(&b{2}&7/&b{3}&7) "
    clickable:
      message: "&a(Click To Join)"
      hover: "&eClick Me To Join!"
  starting-full: "&7[&bEvent&7] &fEvent is full. Starting event right now..."
  event-leave:
    message: "&7[&bEvent&7] &b{0} &cleft &b{1} &7(&b{2}&7/&b{3}&7)"
  event-start-countdown:
    message: "&7[&bEvent&7] &b{0} &fis starting in &b&l{1} &fseconds "
    clickable:
      message: "&a(Click To Join)"
      hover: "&eClick Me To Join!"
  cancel-not-enough-players: "&7[&bEvent&7] &cEvent is cancelled due to not enough participants"
  tournament:
    name: "Tournament"
    match-end-message: "&7[&bEvent&7] &a{0} &fkilled &c{1} &7({2} &7matches left)"
    scoreboard:
      starting-event:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &fPlayers: &b{event-total-players}&7/&b{event-max-players}"
        - "&b&l┃  &fStarting at &b&l{event-countdown} &fseconds"
      starting-new-round:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &fRound &b&l{0}"
        - "&b&l┃  &fStarting at &b&l{event-countdown} &fseconds"
      fighting:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &fRound &b&l{0}"
        - "&b&l┃  &fMatches left: &b{1}"
    status:
      starting-event:
        - ""
        - "&b&l{0}"
        - "&fStarting soon..."
        - ""
      starting-new-round:
        - ""
        - "&b&l{0}"
        - "&fRound &b&l{1} &fis starting soon..."
        - ""
      fighting:
        - ""
        - "&b&l{0}"
        - "&fRound &b&l{1} &fis started!"
        - ""
        - "{2}"
        - ""
      fighting-team-format: "&b{0} &fvs &b{1}"
    no-winner-because-no-party: "&7[&bEvent&7] &cThis event doesn't have any winners due to no party was alive."
    winner-announce:
      message: "&7[&bEvent&7] &aWinners: &b{0}"
      split-format: "&7, &b"
    new-round:
      countdown: "&7[&bEvent&7] &fRound &b&l{0} &fis starting in &b&l{1} &fseconds..."
      start:
        - ""
        - "&7[&bEvent&7] &fRound &b&l{0} &fis started!"
        - "&7[&bEvent&7] &fUse command &7'&b/event status&7' &fto see who is fighting!"
        - ""
      no-available-arena: "&7[&bEvent&7] &cError: Not enough arena. Your party have been automatically promoted to next round."
      auto-promotion: "&7[&bEvent&7] &eThere were an odd number of teams in this round - so your team has advanced to the next round. &a:)"

language.yml addition: (For Chinese Traditional users)

event:
  event-is-running: "&c現時有一個正在進行的活動!"
  event-is-not-running: "&c現時並沒有一個正在進行的活動!"
  event-already-started: "&c活動已經開始!"
  no-available-status: "&c這個活動沒有狀態可以查看!"
  wrong-state: "&c你必須要在大廳才能加入活動!"
  auto-create-party-because-need-a-party: "&7[&b活動&7] &e活動需要擁有一個派對才能參加, 你已自動創建了一個派對"
  party-size-over: "&c你的隊伍人數超出限制! 本活動最大人數為 {0}"
  auto-set-party-size: "&7[&b活動&7] &e你在一個隊伍的情況下加入了活動, 已把你的派對最大人數改為 &b&l{0}"
  cannot-use-this-command: "&c你不能在活動的時候使用這個指令"
  leave-event-because-party-disband: "&e由於隊伍已解散, 你的隊伍已自動退出活動"
  leave-event-because-error: "&c錯誤: 你已被本活動移除, 這是一個系統錯誤, 請回報給系統管理員"
  event-create-menu:
    title: "建立活動"
    button:
      name: "&b{0}"
      lore:
        click-to-create-event: "&e&n點擊進入活動設置界面!"
        no-permission: "&c你沒有權限創建這個活動!"
  event-select-kit-menu:
    title: "選擇活動職業"
    button:
      name: "{0}"
      lore:
        - ""
        - "&e&n點擊選擇該職業為本次活動的職業!"
  event-settings-menu:
    title: "活動設置"
    max-players-button:
      name: "&b最大人數"
      lore:
        - ""
        - "&f現時最大人數: &b{0}"
        - ""
        - "&a左鍵&f點擊把最大人數提升 1"
        - "&aShift + 左鍵&f點擊把最大人數提升 10"
        - ""
        - "&c右鍵&f點擊把最大人數降低 1"
        - "&cShift + 右鍵&f點擊把最大人數降低 10"
        - ""
        - "&e&n點擊更改最大人數!"
    party-size-button:
      name: "&b隊伍人數"
      lore:
        - ""
        - "&f現時隊伍人數: &b{0}"
        - ""
        - "&a左鍵&f點擊把隊伍人數提升 1"
        - "&c右鍵&f點擊把最大人數降低 1"
        - ""
        - "&e&n點擊更改隊伍人數!"
    kit-button:
      name: "&b職業選擇"
      lore:
        - ""
        - "&f已選擇職業: &b{0}"
        - ""
        - "&e&n點擊選擇一個職業!"
    start-button:
      name: "&b開始活動"
      lore:
        - ""
        - "&f活動: &b{0}"
        - "&f最大人數: &b{1}"
        - "&f最小人數: &b{2}"
        - ""
        - "&e&n點擊開始活動!"
  event-create:
    message: "&7[&b活動&7] &b{0} &f正在舉辦一個 &b{1} &f活動! "
    clickable:
      message: "&a(點我加入活動)"
      hover: "&e點擊加入活動!"
  party-name-format: "的隊伍"
  event-join:
    message: "&7[&b活動&7] &b{0} &f加入了&b{1} &7(&b{2}&7/&b{3}&7) "
    clickable:
      message: "&a(點我加入活動)"
      hover: "&e點擊加入活動!"
  starting-full: "&7[&b活動&7] &f活動人數已滿, 準備開始活動..."
  event-leave:
    message: "&7[&b活動&7] &b{0} &c離開了&b{1} &7(&b{2}&7/&b{3}&7)"
  event-start-countdown:
    message: "&7[&b活動&7] &b{0}&f將會在 &b&l{1} &f秒後開始 "
    clickable:
      message: "&a(點我加入活動)"
      hover: "&e點擊加入活動!"
  cancel-not-enough-players: "&7[&b活動&7] &c參加人數不足! 活動已強制終止"
  tournament:
    name: "錦標賽"
    match-end-message: "&7[&b活動&7] &a{0} &f擊敗了 &c{1} &7(剩餘 {2} &7場戰鬥)"
    scoreboard:
      starting-event:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &f現時人數: &b{event-total-players}&7/&b{event-max-players}"
        - "&b&l┃  &f將會在 &b&l{event-countdown} &f秒後開始"
      starting-new-round:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &f第 &b&l{0} &f回合"
        - "&b&l┃  &f將會在 &b&l{event-countdown} &f秒後開始"
      fighting:
        - ""
        - "&b&l┃ &b&l{event-uncolored-name}"
        - "&b&l┃  &f第 &b&l{0} &f回合"
        - "&b&l┃  &f剩餘戰鬥: &b{1}"
    status:
      starting-event:
        - ""
        - "&b&l{0}"
        - "&f正在準備開始..."
        - ""
      starting-new-round:
        - ""
        - "&b&l{0}"
        - "&f第 &b&l{1} &f回合正在準備開始"
        - ""
      fighting:
        - ""
        - "&b&l{0}"
        - "&f正在進行第 &b&l{1} &f回合"
        - ""
        - "{2}"
        - ""
      fighting-team-format: "&b{0} &fvs &b{1}"
    no-winner-because-no-party: "&7[&b活動&7] &c沒有派對生還, 本次活動沒有勝利者"
    winner-announce:
      message: "&7[&b活動&7] &a勝利者: &b{0}"
      split-format: "&7, &b"
    new-round:
      countdown: "&7[&b活動&7] &f第 &b&l{0} &f輪錦標賽將會在 &b&l{1} &f秒後開始..."
      start:
        - ""
        - "&7[&b活動&7] &f第 &b&l{0} &f回合已經開始!"
        - "&7[&b活動&7] &f使用指令 &7'&b/event status&7' &f去查看本輪戰鬥!"
        - ""
      no-available-arena: "&7[&b活動&7] &c錯誤: 場地不足, 你的派對將會放置到下一個回合才會開始"
      auto-promotion: "&7[&b活動&7] &e本回合派對總數為單數, 你的隊伍已被自動晉級 &a:)"

1.0-BETA-6c987d2

22 Sep 04:10
Compare
Choose a tag to compare
1.0-BETA-6c987d2 Pre-release
Pre-release

First beta release of the plugin