Решено Как добавить на свой систему прокачки персонажа

  • Автор темы Автор темы Kiba
  • Дата начала Дата начала

Kiba

Активный участник
Пользователь
Баллы
66
Ник в Minecraft
_nib_
Некоторые игроки сосдают свои гриферские сервера, но им нужна система прокачки персонажа и есть такой плагин под названием AdvancedAbilites (он русифицирован но это не точно) (многие знают про этот плагин). установка не отличается 0т других плагинов, что бы игроки смогли убрать из инвентаря меню этого плагина нужно заменить всё что есть в папке Settings.yml которая находится в папке AdvancedAbilities вот на это --->
alert-settings:
updates:
# This is added to the description on plugin load
onPluginLoad: true
# Alert to player on join
onOpJoin: true

system_mode:
# If you want other system you can change "DEFAULT" to "RPG_SYSTEM" for example.
SYSTEM_TYPE: DEFAULT
all_systems:
rpgSystem:
# Name of the system, If you want to use this system you have to replace "SYSTEM_TYPE" by this name
NAME_TYPE: RPG_SYSTEM
permissionSystem:
# Name of the system, If you want to use this system you have to replace "SYSTEM_TYPE" by this name
NAME_TYPE: PERMISSION_SYSTEM
defaultSystem:
# Name of the system, If you want to use this system you have to replace "SYSTEM_TYPE" by this name
NAME_TYPE: DEFAULT
inStorage:
save_players_method:
# All types: "MINECRAFT_USERNAME", "UUID"
type: UUID

options:
abilityIsDisabled:
# You can hide the ability items if the ability was disabled by the server
hideBlocks: false
commands:
# You can add custom permission to open the menu
permissionToOpen: NONE
# Add here the name of world to disable ability in that world
disabledWorlds:
- example_world
# Add here the name of WorldGuard(Plugin) region to disable ability in that region
disabledRegions:
- example_worldguard_region
onJoin:
giveItem:
# If you don't want this, change this to "false"
enable: false
# Name of the item
name: '&6&lAbilities &7&o(Right click)'
# This is the slot of player inventory
slot: 4
# Item is displayed in menu <ID>:<DATA>:<AMOUNT>
material: 54:0:1:true
# Description of the item
description:
- '&7Click to open abilities shop'

MySQL:
enable: false
hostname: localhost
username: root
password: ''
port: 3306
database: database_name

API:
# Actually the developers can do abilities and hook it with this plugin
enable: true

ConfigFile: 1.0.0

Что бы избежать ошибки при запуске сервера в шестой строке (onOpJoin: true) замените true на false.Если же ошибка не убралась (ошибки может и не быть если ни чего не менять,зависит от
BungeeCord'a если он у вас стоит) поменяйте в этой же строке false на true и всё.
 
Назад
Верх Низ