- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
VillageDefense/提示
Useful tips for your server
This section contains some useful tips to enhance your Village Defense server!
Warn! These tips should be EULA friendly, but may not!
Let's start taking profit from our server!
Table of contents
- Buyable kits for coins
- Global server boosters
可用金币购买套装
需要插件: ChestCommands GUI (或其它插件), Vault, 权限插件, 及任何可以杀怪给钱的插件(如KillerMoney)
1.用 ChestCommands GUI 来创建这样的菜单:
Just create good-looking GUI via Chest Commands, set item prices (requires Vault) and in command to execute use command from your permissions plugin.
示例配置:
cleaner-buy:
ID: magma_cream
COMMAND: 'console: pex user {player} add villagedefense.kit.cleaner;tell: &eThanks for purchase!' #for PermissionsEx
#COMMAND: 'console: lp user {player} permission set villagedefense.kit.cleaner true;tell: &eThanks for purchase!' #for LuckPerms
LORE:
- '&7Clean map very fast and easy!'
- '&7Click to buy for &e&l3000 coins'
PRICE: 3000
POSITION-X: 2
POSITION-Y: 2
2. Edit kit descriptions in language.yml
Go to language.yml and modify descriptions of kits that you're selling via shop above. Add information that kit is available to buy for coins. You must add enough spaces to wrap this line to next line.
In overall it looks like this:
3. Profit
全服加成
需要网页商店插件 (如Buycraft)和权限插件
Using Custom permissions you can create global server boosters for your server!
1. Create new custom permission in config.yml
CustomPermissions:
server-booster: 100
Everyone who has this permission will receive 100% more orbs in-game.
2. Add new item to your web store
Create new item in your store with command:
lp group %your_default_group% permission settemp server-booster 12h
for LuckPermspex group %your_default_group% timed add server-booster 43200 *
for PermissionsEx
This command will give you 12 hour server booster for your default group.
3. 完成