1
0
mirror of https://e.coding.net/circlecloud/Soulbound.git synced 2025-11-24 21:36:20 +00:00

using PluginHelper and update...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092
2015-09-28 21:06:34 +08:00
parent 5ab2ac354c
commit 37963894f3
42 changed files with 150 additions and 513 deletions

View File

@@ -0,0 +1,40 @@
#
# Soulbound configuration
# Last updated on ${project.version}-b${BUILD_NUMBER}
#
#####
#
# Settings for Soulbound in general
###
General:
# Allow Soulbound to report on basic anonymous usage
Stats_Tracking: true
# Allow Soulbound to check if a new version is available
Update_Check: true
Prefer_Beta: false
# Should Soulbound print out debug messages?
Verbose_Logging: false
# Should Soulbound over-write configs to update, or make new ones ending in .new?
Config_Update_Overwrite: true
Soulbound:
Show_Name_In_Lore: true
Feedback_Messages_Enabled: true
Prevent_Item_Drop: false
Delete_On_Drop: false
Allow_Item_Storing: true
Infinite_Durability: false
Blocked_Commands:
/blockedcommand
Commands_Bind_When_Used:
/enchant
Dependency_Plugins:
EpicBossRecoded:
BindOnPickup: true
BindOnUse: false
BindOnEquip: false

View File

@@ -0,0 +1,35 @@
#
# Soulbound item configuration
#
# Items in this config file will be automatically Soulbound to the player on certain
# actions, such as dropping the item or picking it up.
#
# You can add items under "Items" using the exact material name. You can add a data value using a |
# For example, WOOL|15 would be Material.WOOL with data value 15.
#
# The bare minimum of a Soulbound item is that it has Actions
#
# Name: This is the displayname of an item
#
# Lore: List one or more lines of lore here
#
# Actions: The actions when the item should be soulbound to the player.
# Valid values are: CRAFT, OPEN_CHEST, PICKUP_ITEM, DROP_ITEM, RESPAWN, KIT
#
#
###
Items:
DIAMOND_SPADE:
Lore:
- Made from diamond,
- can dig dirt!
Actions:
- CRAFT
- OPEN_CHEST
WOOL|15:
Name: Black Piece Of Wool
Actions:
- PICKUP_ITEM
- DROP_ITEM

View File

@@ -0,0 +1,44 @@
#提示消息
Message:
CAN_NOT_BIND: '&7你不能&c绑定&7这个物品'
CAN_NOT_UNBIND: '&7你不能&6解绑&7这个物品'
BINDED: '&7物品已经&a绑定&7到玩家&c%target%'
UNBINDED: '&7物品已经解绑'
BIND_FULL_INEVNTORY: '&a玩家&c%player%&a背包内的所有物品已绑定到玩家&6%target%'
BIND_INVENTORY: '&c你可能需要的命令: &a/bind <player> inventory'
BIND_ON_EQUIP: '&7当前物品已标记为 &4装备后绑定'
BIND_ON_PICKUP: '&7当前物品已标记为 &4拾取后绑定'
BIND_ON_USE: '&7当前物品已标记为 &4使用后绑定'
CAN_NOT_BIND_ON_EQUIP: '&7当前物品不能标记为 &4装备后绑定'
CAN_NOT_BIND_ON_PICKUP: '&7当前物品不能标记为 &4拾取后绑定'
CAN_NOT_BIND_ON_USE: '&7当前物品不能标记为 &4使用后绑定'
VERSION: '灵魂绑定(&3修改by喵♂呜) &r版本号'
CAN_NOT_USE_ON_CONSOLE: '抱歉 此命令不能在控制台使用'
PAGE_NOT_EXIST: '&c帮助页面不存在 请输入 /Soulbound help [0-%maxPages%]'
HELP_TITLE: '&7--[ &6灵魂绑定 帮助 &a-汉化by邱 &3-修改by喵♂呜 &7 ]-- 页面 %page%/%maxPages%'
HOW_DOES_IT_WORK: '&4* &c它是如何工作的'
HOW_DOES_IT_WORK_1: '&4* &c灵魂绑定的物品只有自己才能使用。'
HOW_DOES_IT_WORK_2: '&4* &c绑定后的物品某些行为将会被阻止:'
HOW_DOES_IT_WORK_3: '&4* &c扔在地上、或者放到箱子里让其他玩家拿。'
HOW_DOES_IT_WORK_4: '&4* &c标记为 &4拾取后绑定 &c的物品'
HOW_DOES_IT_WORK_4_1: ' &c一旦被玩家捡起来就会立即绑定成为该玩家的物品。'
HOW_DOES_IT_WORK_5: '&4* &c标记为 &4使用后绑定 &c的物品'
HOW_DOES_IT_WORK_5_1: ' &c只要拿在手中左键或者右键就会立即绑定成为该玩家的物品。'
HOW_DOES_IT_WORK_6: '&4* &c标记为 &4装备后绑定 &c的物品'
HOW_DOES_IT_WORK_6_1: ' &c装备到身上后就能立即绑定成为该玩家的物品。'
CMD: '&6指令:'
CMDVERSION: '&4* &a/soulbound &7查看插件版本。'
CMD_BIND: '&4* &a/bind <sender> &7绑定手上的物品。'
CMD_BIND_FULL_INVENTORY: '&4* &a/bind <sender> inventory &7绑定玩家背包里的所有物品。'
CMD_BIND_ON_EQUIP: '&4* &a/bindonequip &7将当前物品标记为 &4装备后绑定'
CMD_BIND_ON_PICKUP: '&4* &a/bindonpickup &7将当前物品标记为 &4拾取后绑定'
CMD_BIND_ON_USE: '&4* &a/bindonuse &7将当前物品标记为 &4使用后绑定'
CMD_UNBIND: '&4* &a/unbind &7解除手中物品的绑定。'
CMD_NEXT: '&6使用 /soulbound help %nextPage% 查看更多'
CMD_USE: '使用: /soulbound [reload | help]'
RELOAD: '&a配置文件已重载...'

View File

@@ -0,0 +1,57 @@
name: ${project.artifactId}
description: ${project.description}
authors: [TfT_02,喵♂呜]
version: ${project.version}
main: com.me.tft_02.soulbound.Soulbound
website: http://ci.citycraft.cn:8800/jenkins/job/Soulbound/
softdepend: [EpicBossRecoded]
commands:
soulbound:
description: Usage /soulbound
permission-message: §c你没有 <permission> 的权限来执行此命令!
bind:
description: Usage /bind
alias: bound
permission: soulbound.commands.bind
permission-message: §c你没有 <permission> 的权限来执行此命令!
bindonpickup:
description: Usage /bindonpickup
permission: soulbound.commands.bindonpickup
permission-message: §c你没有 <permission> 的权限来执行此命令!
bindonuse:
description: Usage /bindonuse
permission: soulbound.commands.bindonuse
permission-message: §c你没有 <permission> 的权限来执行此命令!
bindonequip:
description: Usage /bindonequip
permission: soulbound.commands.bindonequip
permission-message: §c你没有 <permission> 的权限来执行此命令!
unbind:
description: Usage /unbind
alias: unbound
permission: soulbound.commands.unbind
permission-message: §c你没有 <permission> 的权限来执行此命令!
permissions:
soulbound.commands.all:
description: Gives access to the Soulbound commands
default: op
children:
soulbound.commands.bind: true
soulbound.commands.bindonpickup: true
soulbound.commands.bindonuse: true
soulbound.commands.bindonequip: true
soulbound.commands.unbind: true
soulbound.commands.reload: true
soulbound.updatecheck: true
soulbound.pickup.bypass:
description: Users with this permission will be able to pickup Soulbound items that do not belong to them.
default: false
soulbound.items.keep_on_death:
description: Users with this permission will keep their Soulbound items after dying
default: false
soulbound.items.delete_on_death:
description: Users with this permission will have their Soulbound items deleted on death
default: false
soulbound.updatecheck:
description: Users with this permission will receive a notification when there is a new version available.
default: op