config.yml

Options

Every option tries to be as self explanatory as possible, and also I Include a commentary for almost every one of them, in this section I'll only cover the rewards.

Rewards

The plugins comes with 3 default rewards. Each one has a type and actions to perform.

rewards:
  money_on_win:
    type: WIN
    actions:
      - "command: eco give %player% 3500"
      - "message: %prefix% &7You won &a$3500 &7by winning the game!"
  money_on_win_vip:
    type: WIN
    permission: uno.vip
    actions:
      - "command: eco give %player% 3500"
      - "message: %prefix% &7You won an additional &a$3500 &7by supporting us!"
  punishment_on_lose:
    type: LOSE
    actions:
      - "command: eco take %player% 1000"
      - "message: %prefix% &7You lost &c$1500 &7by losing the game."

There are 3 possible types:

  • WIN rewards -> Granted to the winner

  • LOSE rewards -> Granted to all the players, except the winner.

  • PLAY rewards -> Granted to all the players.

Each reward will be given, but you can also set a permission to any custom permission you want.

Available placeholders: %player% -> player's name %prefix% -> plugin's prefix

If you think you need more placeholders, just contact me via discord! I'll be glad to add more.

Base file

time_played_formatted: "%minutes%m %seconds%s"
# if players get past this distance, they will leave the table automatically
max_distance_to_table: 10
# Default is 0 -0.95 0
# If no armor stand is visible, higher the y value.
card_armor_stand_offset:
  x: 0
  y: -0.95
  z: 0
# Players outside the table will se this
table_hologram:
  - '%table%'
  - '&7%players%&8/&7%maxPlayers% Players'
  - '&a%status% %right_click_to_join%'
table_hologram_disabled:
  - '%table%'
  - '%status%'
# Players playing will se this
table_hologram_waiting:
  - '%status%'
  - '&7Starting in %time%'
table_hologram_game:
  - '&7Turn of &#ffc540%player%'
  - '&7Next: &7%next%'
table_holograms_offset:
  x: 0
  y: 2.5
  z: 0
# Required game time to count as a win if every player leaves the table (and only one player is left)
# Set to 0 to always count as a win (not recommended)
# Set to -1 to never count as a win (not recommended either)
required_time_to_win_by_leave: 60
status_free: "&aFree"
status_in_game: "&cIn-Game"
status_starting: "&#fd8e31&lStarting..."
status_finishing: "&6Finishing..."
status_disabled: "&cDisabled"
status_waiting: "&eWaiting..."
right_click_to_join: "&8- &7Right click to join" # This will be added to the table default hologram if players can join
select_color_menu_title: "&#D40808S&#CD290Ae&#C6490Bl&#BE6A0De&#B78A0Ec&#96930Ft &#53A512c&#3EA43Co&#2AA466l&#15A38Fo&#00A2B9r"
# The hologram shown when a card is played.
# You can also disable this feature
table_card_hologram_enabled: true
table_card_hologram_offset:
  x: 0
  y: 1.5
  z: 0
table_card_hologram_disappear: 3 # Set to 0 to make it permanent.
table_start_cooldown: 10
# These are the items shown in color select menu. They are also used in color change messages.
red_color_menu: "&cRED"
blue_color_menu: "&bBLUE"
yellow_color_menu: "&#ffe600YELLOW"
green_color_menu: "&aGREEN"

# Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
card_played_sound: BLOCK_NOTE_BLOCK_BASS
card_not_played_sound: BLOCK_NOTE_BLOCK_DIDGERIDOO
got_skipped_sound: BLOCK_NOTE_BLOCK_SNARE
plus_played_sound: BLOCK_NOTE_BLOCK_HARP
reverse_sound: BLOCK_NOTE_BLOCK_BIT
play_wild_card: BLOCK_NOTE_BLOCK_BIT
card_draw_sound: BLOCK_NOTE_BLOCK_BASS
not_your_turn_sound: BLOCK_NOTE_BLOCK_DIDGERIDOO
your_turn_sound: BLOCK_NOTE_BLOCK_CHIME
table_finish_sound: ENTITY_PLAYER_LEVELUP
uno_sound: BLOCK_ANVIL_PLACE

rewards:
  money_on_win:
    type: WIN
    actions:
      - "command: eco give %player% 3500"
      - "message: %prefix% &7You won &a$3500 &7by winning the game!"
  money_on_win_vip:
    type: WIN
    permission: uno.vip
    actions:
      - "command: eco give %player% 3500"
      - "message: %prefix% &7You won an additional &a$3500 &7by supporting us!"
  punishment_on_lose:
    type: LOSE
    actions:
      - "command: eco take %player% 1000"
      - "message: %prefix% &7You lost &c$1500 &7by losing the game."

# The banner displayed in console
enable_startup_banner: true

Last updated