Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Pomoc w konfiguracji skywars


Poldek119

Rekomendowane odpowiedzi

Opublikowano

Witam

Potrzebuje pomocy z konfiguracja pluginu skywars
https://dev.bukkit.org/bukkit-plugins/skywars/

1.Jak ustawić randomowe skrzynie by za każdym razem była
a. Inna ilość itemów
b. inne itemy

Udało mi się ustawić ten random i mam zawsze 3 itemy w skrzyni.
Wiem że jest szansa % ale reszty ustawień nie kumam.

Dwa czy wiece może dlaczego top jest rozwalony ?
Czy warto podłączyć to po bazę danych ?

mój konfig:


 

# ####### chests.yml #######
#
# Random Chest Item Configuration
#
# For documentation, please visit
# https://dabo.guru/projects/skywars/configuring-chests
# #########

# Config file version - no reason to change this.
version: 1

# Items are stored under a number of "levels". You are free to add any different levels you want.
# Each level has a "value" and a "chance" percentage. When filling a chest, SkyWars will pick a
# level according to it's percentage chance, add a random item from that level to the chest, and
# then add the level's "item-value" to the total value in the chest. When the total value in the
# chest reaches the chest's level, SkyWars will stop adding items.
levels:
  level-1:
    item-value: 4
    chance: 17
  level-2:
    item-value: 4
    chance: 17
  level-3:
    item-value: 4
    chance: 13
  level-4:
    item-value: 4
    chance: 13
  level-5:
    item-value: 4
    chance: 10
  level-6:
    item-value: 4
    chance: 10
  level-7:
    item-value: 4
    chance: 7
  level-8:
    item-value: 4
    chance: 7
  level-9:
    item-value: 4
    chance: 3
  level-10:
    item-value: 4
    chance: 3

items:
  # Each item under a level-x list is level x.
  level-1:
  # The format in which you can put items is the same here as it is in `kits.yml`.
  # For a look at how to store more complicated items, look at the examples in `kits.yml`.
  - type: WOOD_SWORD
  - type: LEATHER_HELMET
  - type: LEATHER_CHESTPLATE
  - type: LEATHER_LEGGINGS
  - type: LEATHER_BOOTS
  - {type: PORK, amount: 3}
  - {type: SNOW_BALL, amount: 3}
  - {type: APPLE, amount: 3}
  - {type: ARROW, amount: 7}
  -  type: BOW
  - {type: COBBLESTONE, amount: 32}
  - {type: WOOD, amount: 32}
  level-2:
  - type: GOLD_SWORD
  - type: LEATHER_HELMET
  - type: LEATHER_CHESTPLATE
  - type: LEATHER_LEGGINGS
  - type: LEATHER_BOOTS
  - {type: GRILLED_PORK, amount: 3}
  - {type: APPLE, amount: 2}
  - {type: COOKED_BEEF, amount: 2}
  - {type: ENDER_PEARL, amount: 2}
  - {type: WOOD, amount: 32}
  level-3:
  - type: GOLD_HELMET
  - type: GOLD_CHESTPLATE
  - type: GOLD_LEGGINGS
  - type: GOLD_BOOTS
  - type: GOLD_SWORD
  - type: CHAINMAIL_HELMET
  - type: CHAINMAIL_CHESTPLATE
  - type: CHAINMAIL_BOOTS
  - {type: MELON_BLOCK, amount: 4}
  - {type: GOLDEN_APPLE, amount: 2}
  - type: FLINT_AND_STEEL
  - type: GOLD_SWORD
  - {type: STONE, amount: 16}
  - {type: WOOD, amount: 32}
  level-4:
  - type: IRON_SWORD
  - type: GOLD_HELMET
  - type: GOLD_CHESTPLATE
  - type: GOLD_LEGGINGS
  - type: GOLD_BOOTS
  - {type: WOOD, amount: 32}
  level-5:
  - type: IRON_SWORD
  - type: IRON_HELMET
  - type: IRON_CHESTPLATE
  - type: IRON_LEGGINGS
  - type: IRON_BOOTS
  - {type: CAKE, amount: 2}
  - {type: EXP_BOTTLE, amount: 5}
  level-6:
  - type: DIAMOND_SWORD
  level-7:
  - type: DIAMOND_SWORD
  - type: IRON_HELMET
  - type: IRON_CHESTPLATE
  - type: IRON_LEGGINGS
  - type: IRON_BOOTS
  level-8:
  - type: DIAMOND_SWORD
  - type: DIAMOND_HELMET
  - type: DIAMOND_CHESTPLATE
  - type: IRON_LEGGINGS
  - type: IRON_BOOTS
  level-9:
  - type: DIAMOND_SWORD
  - type: DIAMOND_HELMET
  - type: DIAMOND_CHESTPLATE
  - type: IRON_LEGGINGS
  - type: DIAMOND_BOOTS
  level-10:
  - type: DIAMOND_SWORD
  - type: DIAMOND_HELMET
  - type: DIAMOND_CHESTPLATE
  - type: DIAMOND_LEGGINGS
  - type: DIAMOND_BOOTS
  - {type: STONE, amount: 16}
  - {type: WOOD, amount: 32}

Przykładowa arena:

# ####### sw1.yml ###
# This is the Skyblock Warriors arena config.
# 
# All values that are not in this configuration will be inherited from
#  arena-parent.yml
# 
# All comment changes will be removed.
# 
# For documentation, please visit 
# https://dabo.guru/projects/skywars/configuring-arenas
# #######
config-version: 3
spawns:
- x: 18.5
  y: 22.0
  z: 19.5
- x: 43.5
  y: 22.0
  z: 5.5
- x: 71.5
  y: 22.0
  z: 18.5
- x: 84.5
  y: 22.0
  z: 45.5
- x: 72.5
  y: 22.0
  z: 73.5
- x: 46.5
  y: 22.0
  z: 86.5
- x: 19.5
  y: 22.0
  z: 74.5
- x: 6.5
  y: 22.0
  z: 48.5
num-teams: 8
team-size: 1
min-players: 2
boundaries:
  origin:
    min:
      x: 129
      y: 114
      z: -2429
    max:
      x: 226
      y: 202
      z: -2326
    world: eventy
  building:
    min:
      x: -2
      y: -20
      z: -2
    max:
      x: 99
      y: 90
      z: 105
  clearing:
    min:
      x: -3
      y: -21
      z: -3
    max:
      x: 100
      y: 91
      z: 106
placement-y: 20
chests:
- location:
    x: 3
    y: 17
    z: 44
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 8
    y: 17
    z: 44
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 15
    y: 17
    z: 16
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 15
    y: 17
    z: 71
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 15
    y: 17
    z: 76
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 20
    y: 17
    z: 16
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 43
    y: 17
    z: 83
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 43
    y: 17
    z: 88
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 47
    y: 17
    z: 3
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 47
    y: 17
    z: 8
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 70
    y: 17
    z: 76
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 75
    y: 17
    z: 16
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 75
    y: 17
    z: 21
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 75
    y: 17
    z: 76
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 82
    y: 17
    z: 48
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 87
    y: 17
    z: 48
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 38
    y: 20
    z: 44
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 42
    y: 20
    z: 40
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 50
    y: 20
    z: 46
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 4
    y: 21
    z: 47
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 16
    y: 21
    z: 19
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 18
    y: 21
    z: 75
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 44
    y: 21
    z: 4
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 46
    y: 21
    z: 87
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 72
    y: 21
    z: 17
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 74
    y: 21
    z: 73
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 86
    y: 21
    z: 45
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 38
    y: 23
    z: 47
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 43
    y: 23
    z: 42
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 43
    y: 23
    z: 52
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 48
    y: 23
    z: 47
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 42
    y: 35
    z: 45
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 42
    y: 35
    z: 48
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 44
    y: 35
    z: 45
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4
- location:
    x: 44
    y: 35
    z: 48
  randomize: true
  total-level: 8
  min-item-value: 0
  max-item-value: 4

 

 

Liczy się tylko pasja

Liczy się tylko Minecraft !

 

Opublikowano

Kolejne problemy :

Top jest od 2 :(

http://scr.hu/0wjgu/uo5f4

 

Niestety jednak gracze tracąc expa po śmierci.

save-inventory: true
save-experience: true
save-position-gamemode-health: true
enabled-arenas:

Liczy się tylko pasja

Liczy się tylko Minecraft !

 

Opublikowano

Zawsze lepiej jest korzystać z bazy danych, na pewno jeśli chodzi o MySQL na localhoscie.

Z toplistą to raczej błąd w pluginie, najlepiej napisz do autora. Jak chcesz to ewentualnie sam spróbuję to naprawić.

4L0M4l0.png

Opublikowano

Plugin podpięty pod baze

Top nadal od 2 ale cóż

Nie wiem dlaczego nie zatrzymuje expa a to jest ważne.

Liczy się tylko pasja

Liczy się tylko Minecraft !

 

Opublikowano

Rzadko używam praktycznie mam wyłączony non stop.

Zapraszam na ts

Liczy się tylko pasja

Liczy się tylko Minecraft !

 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...