Resource Pack 1.21.4+

This is the configuration of the plugin using a custom resource pack that add textures to cards and Pazaak sounds. You can download the resource pack from HERE.

Config.yml

# Enables or disables the plugin update message when joining the server.
update_notify: true

# How much time players will have to accept a Pazaak invitation (in seconds).
invitation_expire_time: 25

# Max distance (in blocks) between the players when accepting a Pazaak invitation.
invitation_max_distance: 10

# Whether the player will stand automatically when reaching 20 points.
automatic_stand: true

# How much time will each player have per turn (in seconds).
time_in_each_turn: 20

# Worlds where Pazaak can't be played.
disabled_worlds:
  - Survival
  - factions

# This option defines the time (in seconds) to automatically save
# player data.
player_data_save: 300

# Sounds configuration.
# Use this format:
# sound: <name>;<volume>;<pitch>
# All sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# You can also use resource pack sounds.
sounds:
  end_turn:
    enabled: true
    sound: "pazaak:custom.end_turn;10;1"
  generate_card:
    enabled: true
    sound: "pazaak:custom.generate_card;10;1"
  lose_round:
    enabled: true
    sound: "pazaak:custom.lose_round;10;1"
  win_round:
    enabled: true
    sound: "pazaak:custom.win_round;10;1"
  tie_round:
    enabled: true
    sound: "pazaak:custom.tie_round;10;1"
  lose_game:
    enabled: true
    sound: "pazaak:custom.lose_game;10;1"
  win_game:
    enabled: true
    sound: "pazaak:custom.win_game;10;1"
  add_card:
    enabled: true
    sound: "pazaak:custom.add_card;10;1"
  stand:
    enabled: true
    sound: ENTITY_FIREWORK_ROCKET_BLAST;10;0.7

Inventory.yml

inventories:
  main_upper:
    slots: 54
    0-9;13;17;18;22;26;27;31;35-45;49;53:
      item:
        id: BLACK_STAINED_GLASS_PANE
        name: " "
    10-12;19-21;28-30:
      type: player_cards
    14-16;23-25;32-34:
      type: opponent_cards
    47:
      type: player_total_points
    51:
      type: opponent_total_points
  main_lower:
    10-16;22;27-35:
      item:
        id: BLACK_STAINED_GLASS_PANE
        name: " "
    0-2:
      item:
        id: LIME_STAINED_GLASS_PANE
        name: "&a&lWIN"
      type: player_wins
    3:
      item:
        id: BLUE_TERRACOTTA
        name: "&7End Turn"
      type: end_turn
    4:
      item:
        id: ORANGE_TERRACOTTA
        name: "&7Stand"
      type: stand
    5:
      item:
        id: RED_TERRACOTTA
        name: "&7Quit Game"
      type: quit_game
    6-8:
      item:
        id: LIME_STAINED_GLASS_PANE
        name: "&a&lWIN"
      type: opponent_wins
    9:
      item:
        id: PLAYER_HEAD
        skull_data:
          owner: "%player_name%"
        name: "&e%player_name%"
    17:
      item:
        id: PLAYER_HEAD
        skull_data:
          owner: "%opponent_name%"
        name: "&e%opponent_name%"
    18-21:
      type: player_bonus_cards
    23-26:
      type: opponent_bonus_cards

custom_items:
  stand_remaining_space:
    id: GRAY_STAINED_GLASS_PANE
    name: " "
  total_points:
    id: PAPER
    name: "&bTotal: &f%player_points%"
  normal_cards:
    1:
      id: BLAZE_POWDER
      name: "&a&l1"
      model: "pazaak:1"
    2:
      id: BLAZE_POWDER
      name: "&a&l2"
      model: "pazaak:2"
    3:
      id: BLAZE_POWDER
      name: "&a&l3"
      model: "pazaak:3"
    4:
      id: BLAZE_POWDER
      name: "&a&l4"
      model: "pazaak:4"
    5:
      id: BLAZE_POWDER
      name: "&a&l5"
      model: "pazaak:5"
    6:
      id: BLAZE_POWDER
      name: "&a&l6"
      model: "pazaak:6"
    7:
      id: BLAZE_POWDER
      name: "&a&l7"
      model: "pazaak:7"
    8:
      id: BLAZE_POWDER
      name: "&a&l8"
      model: "pazaak:8"
    9:
      id: BLAZE_POWDER
      name: "&a&l9"
      model: "pazaak:9"
    10:
      id: BLAZE_POWDER
      name: "&a&l10"
      model: "pazaak:10"
  bonus_cards:
    "+1":
      id: BLAZE_POWDER
      name: "&9&l+1"
      model: "pazaak:bonus1"
    "+2":
      id: BLAZE_POWDER
      name: "&9&l+2"
      model: "pazaak:bonus2"
    "+3":
      id: BLAZE_POWDER
      name: "&9&l+3"
      model: "pazaak:bonus3"
    "+4":
      id: BLAZE_POWDER
      name: "&9&l+4"
      model: "pazaak:bonus4"
    "+5":
      id: BLAZE_POWDER
      name: "&9&l+5"
      model: "pazaak:bonus5"
    "+6":
      id: BLAZE_POWDER
      name: "&9&l+6"
      model: "pazaak:bonus6"
    "-1":
      id: BLAZE_POWDER
      name: "&c&l-1"
      model: "pazaak:bonus-1"
    "-2":
      id: BLAZE_POWDER
      name: "&c&l-2"
      model: "pazaak:bonus-2"
    "-3":
      id: BLAZE_POWDER
      name: "&c&l-3"
      model: "pazaak:bonus-3"
    "-4":
      id: BLAZE_POWDER
      name: "&c&l-4"
      model: "pazaak:bonus-4"
    "-5":
      id: BLAZE_POWDER
      name: "&c&l-5"
      model: "pazaak:bonus-5"
    "-6":
      id: BLAZE_POWDER
      name: "&c&l-6"
      model: "pazaak:bonus-6"
  unknown_bonus_card:
    id: BLAZE_POWDER
    name: "&c&l??"
    model: "pazaak:back"

Last updated