• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
Ken

Plugin CustomEnderchest

  • Thread starter Thread starter Ken
  • Ngày gửi Ngày gửi

Ken

THÀNH VIÊN
Tham gia
05/07/2016
Bài viết
4,225
IMG.png

:pd1:
Tạo cấp cho Enderchest, như hình ở trên
Thích hợp dùng cho các rank VIP
:pd7:
  • CustomEnderChest.level.0 - 9 ô chứa trong Enderchest
  • CustomEnderChest.level.1 - 18 ô chứa trong Enderchest
  • CustomEnderChest.level.2 - 27 ô chứa trong Enderchest
  • CustomEnderChest.level.3 - 36 ô chứa trong Enderchest
  • CustomEnderChest.level.4 - 45 ô chứa trong Enderchest
  • CustomEnderChest.level.5 - 54 ô chứa trong Enderchest
  • CustomEnderChest.commands - Cho phép người chơi mở Enderchest với lệnh /customec open
  • CustomEnderChest.admin - Dành cho Admin
:pd6:
Lệnh cơ bản là /customenderchest ho8ạc /customec
  • /customec hoặc /customec help - Xem hướng dẫn.
  • /customec open - Mở EnderChest
  • /customec open <name> - Mở Enderchest của người chơi.
  • /customec delete <name> - Xóa Enderchest của người chơi.
  • /customec reload - Khởi động lại plugin.
:pd8:
Mã:
#Database settings
database:
#Type of database, Options: FlatFile or MySQL
typeOfDatabase: FlatFile
#MySQL database type connection details.
mysql:
host: 127.0.0.1
port: 3306
databaseName: 'mydatabase'
tableName: 'cec_enderchests'
user: 'admin'
password: 'cheesecake'
#This task will scan the mysql database for inactive players and remove them.
#The scanning takes place after server starts with a 2min delay. Runs on a async thread so server performance will not be affected.
removeOldUsers:
#Enable or disable mysql database maintenance. | (true or false)
enabled: false
#Inactivity in days. Default 60 days.
inactive: 60

#Customize Ender Chest Title
enderChestTitle:
#EnderChest folder name. Supports color and format codes.
#Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes
#WARNING! Max size is 32 characters including color, format codes.
enderChestName: '&5&lEnderChest &7- %level'

#The place holder %player will be replaced by player's name.

#The %level place holder replace text below. So you can customize each enderchest title by enderchest size.

#For 9 slots enderchest.
level0: '&dLevel 0'
#For 18 slots enderchest.
level1: '&dLevel 1'
#For 27 slots enderchest.
level2: '&dLevel 2'
#For 36 slots enderchest.
level3: '&5Level 3'
#For 45 slots enderchest.
level4: '&5Level 4'
#For 54 slots enderchest.
level5: '&5Level 5'

#Chat messages. Supports color and format codes.
chatMessages:
#Chat messages prefix.
#To disable the prefix set it to '' ; Example: prefix: ''
prefix: '&5&l[CustomEC] '

#Disable any chat message by setting it to '' | Example: noPermission: ''
#Chat messages.
noPermission: '&dYou do not have permission!'
openCmdUsage: '&dUsage example: &7/customec open John &dor &7/customec open f694517d-d6cf-32f1-972b-dfc677ceac45'
noEnderchest: '&dPlayer does not have and Ender Chest yet!'
openUuidFail: '&dPlayer does not have and Ender Chest or wrong UUID!'
openNameOffline: '&dPlayer offline or wrong UUID! Use: &7/customec open <playerUUID>'
deleteNameOffline: '&dPlayer offline or wrong UUID! Use: &7/customec delete <playerUUID>'
deleteCmdUsage: '&dUsage example: &7/customec delete John &dor &7/customec delete f694517d-d6cf-32f1-972b-dfc677ceac45'
delete: '&dPlayer enderchest data removed!'
reloadFail: '&dCould not load config! Check logs!'
reload: '&dConfiguration reloaded!'
:pd11:
www.spigotmc.org

 
Back
Top Bottom