Stránka 1 z 1

Bukkit

Napsal: 25 srp 2017, 23:29
od karlik97
82.208.17.41:27315
Dobry den nastavil jsem si plugin DailyRewards a chtěl bych přejmenovat příkaz /rewards na odměna teda jestli je to možné. Zkoušel jsem to nastavit v commands.yml

Kód: Vybrat vše

# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# http://wiki.bukkit.org/Commands.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
#    (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
# Bug tracker: http://www.spigotmc.org/go/bugs

command-block-overrides: []
aliases:
  icanhasbukkit:
  - version $1-
PluginCommands:
 DailyRewards:rewards rewards:odmena
 unrestricted-advancements: false

Poraďte mi jak to mám napsat nebo co dělám blbě. Děkuji

Re: Bukkit

Napsal: 25 srp 2017, 23:32
od ZiDyPL

Kód: Vybrat vše

aliases:
  icanhasbukkit:
  - version $1-
  odmena:
  - rewards $1-
unrestricted-advancements: false

Re: Bukkit

Napsal: 26 srp 2017, 08:34
od variodriver
plugin.yml a v metodě onCommand přidáš alias jak pise ZIdylp