本帖最后由 名副其实 于 2022-7-10 18:51 编辑
| Description | 插件介绍
本插件允许服主们决定哪些区域会随机生成宝箱。同时,在该区域内挖掘的方块会被计入奖励计数器,一旦挖掘数量足够,下次玩家挖掘特定种类的方块时就会将该方块转换为宝箱。区域,奖励和(宝箱的)等级可以在 config 编辑。
| Features | 插件特色
允许设置"宝箱(刷新)区域"
可以设置无限多的"宝箱(刷新)区域"和"(宝箱)战利品等级"
支持 WorldGuard, WorldEdit, PrisonMines 和 MineResetLite
高度自定义。
奖励可以是物品,也可以是执行特定的命令。
支持 PlaceholderAPI
基于权限
|
| Description | 插件介绍
MineCrates allows server owners to define areas where crates will spawn. Blocks that are mined in the area contribute to the reward counters, once reached the last block the player broke will switch into a reward crate. Areas, rewards and tiers can all be edited within the config.
本插件允许服主们决定哪些区域会随机生成宝箱。同时,在该区域内挖掘的方块会被计入奖励计数器,一旦挖掘数量足够,下次玩家挖掘特定种类的方块时就会将该方块转换为宝箱。区域,奖励和(宝箱的)等级可以在 config 编辑。
| Features | 插件特色
Ability to define "crate areas"
You can define unlimited "areas" and even "reward tiers"
MineCrates supports: WorldGuard, WorldEdit, PrisonMines & MineResetLite
Highly customizable.
Rewards can be items or commands
Highly customizable.
PlaceholderAPI support
Permission based
允许设置"宝箱(刷新)区域"
可以设置无限多的"宝箱(刷新)区域"和"(宝箱)战利品等级"
支持 WorldGuard, WorldEdit, PrisonMines 和 MineResetLite
高度自定义。
奖励可以是物品,也可以是执行特定的命令。
支持 PlaceholderAPI
基于权限
本帖最后由 名副其实 于 2022-7-10 18:59 编辑
| Commands & Permissions | 命令与权限
Player Commands | 玩家命令
Admin Commands | 管理员命令
等价用法: /Minecrates: /Mcrates
Permissions | 权限列表
|
| Commands & Permissions | 命令与权限
Player Commands | 玩家命令
| 命令 | 权限 | 描述 |
| /minecrates help | minecrates.help | 帮助信息 |
| /minecrates info | minecrates.info | 返回你所在的宝箱区域 |
Admin Commands | 管理员命令
| 命令 | 权限 | 描述 |
| /minecrates ingore | minecrates.ignore | 切换奖励消息 |
| /minecrates reload | minecrates.admin | 重载配置文件 |
等价用法: /Minecrates: /Mcrates
Permissions | 权限列表
| 权限 | 描述 |
| minecrates.get | 允许通过挖掘方块获取宝箱 |
| minecrates.cooldown.exempt | 绕过获取宝箱的冷却时间 |
本帖最后由 名副其实 于 2022-7-10 19:05 编辑
| Configuration | 示例配置
config.yml
复制代码
|
| Configuration | 示例配置
config.yml
- # MineCrates 2.10.0 configuration file
- # Created by: extended_clip
- #
- #
- # area_handler: World / WorldGuard / MRL / PrisonMines
- # area_handler is the name of the hook you want to define crate areas for
- # Crate areas are tied to the name of the world / mine / region you choose
- # depending on the hook you use.
- #
- # crate_despawn_time: <time in seconds that crates will despawn after spawning>
- #
- # crate_material: <Material or ID of the crate block that is spawned>
- #
- # crate_inventory_name: <name of the inventory shown when the crate is opened>
- #
- # ==================================================
- #
- # Crate area configuration:
- #
- # Almost all entries in areas are optional
- # although you must have a drop_counter and drop_chance entry.
- # You must also have a rewards section with at least 1 valid reward list for the area to be loaded.
- #
- # areas:
- # (region, mine, or world name):
- # permission: (if you want players to have a certain permission to obtain crates in this area, add the permission node here)
- # drop_counter: (how many blocks need to be broken before a crate has a chance to spawn)
- # drop_chance: (what is the chance out of 100.0 that a crate will spawn when the counter reaches 0)
- # alternate_areas:
- # - (if you would like to allow this area options to be used for other areas)
- # - (that way all rewards and options are shared, you can list the alternate area names here)
- # - world_nether
- # - world_the_end
- # counted_materials:
- # - (if you only want to have certain materials count towards the counter)
- # - (you can list them here, otherwise don't add this option)
- # - DIAMOND_ORE
- # - EMERALD_ORE
- # reward_on_break: <true/false> should rewards be given on break of the block instead of spawning a crate
- # rewards: (this section holds all reward related options specific to this area)
- # (name of this reward list):
- # priority: (if you have multiple lists, the lowest priority list will be applied if player has multiple list permissions)
- # permission: (optional if you require players have certain permission to obtain rewards in this list)
- # max_rewards_per_crate: (max amount of rewards a player can get in a crate from this list)
- # only_owner_can_open: (should only the person this crate spawned for be allowed to open it)
- # crate_spawn_actions: (these actions are performed when a crate holding this reward list is spawned)
- # - [msg] You found a crate
- # - [broadcast] @p found a crate
- # - [command] eco give @p 100
- # - [playersound] ANVIL_LAND 10 1
- # - [worldsound] ANVIL_BREAK 10 1
- # - [effect] helix
- # crate_open_actions: (these actions are performed when a crate holding this reward list is opened)
- # - [msg] You opened a MineCrate!
- # - [broadcast] @p opened a crate
- # - [playersound] CHEST_OPEN 10 1
- # - [effect] atom
- # crate_despawn_actions: (these actions are performed when a crate holding this reward list is despawned if it was not opened)
- # - [msg] You missed your crate
- # - [worldsound] ANVIL_BREAK 10 1
- # - [effect] heart
- # items: (this section holds all of the actual commands / items given as rewards)
- # (unique name for this item reward):
- # chance: (chance this reward will be selected) the chance system is explained below...
- # item: (if this reward is an itemstack, you must specify 'item:' here, otherwise you will specify 'commands:')
- # material: (if this is an item, these are the item options you can use)
- # data: (data value if needed)
- # amount: (amount of this item to give)
- # name: (display name to set on this item)
- # lore:
- # - (add your lore here if you want)
- # - (supports multiple lines)
- # enchantments:
- # - <ENCHANTMENT NAME>,<LEVEL>
- # (unique name for this command reward):
- # chance: 50.0
- # commands:
- # - (list all your commands here, they must start with a valid action identifier)
- # - [command] eco give @p 100
- # - [msg] you got 100 bucks!
- # ==================================================
- #
- # CRATE SPAWN CHANCE INFORMATION
- #
- # This chance can be any double value from 0.01 to 100.0
- # it is percentage based, so if you set the chance to 10.0
- # there will be a 10% chance a crate will spawn when the break
- # counter reaches 0. If you set it to 99.0, there will be a 99% chance
- # that a crate will spawn when the counter rewaches 0.
- #
- # ==================================================
- #
- # REWARD CHANCE INFORMATION
- #
- # All rewards in a specific reward list have a chance associated with the item/commands that are executed for that reward.
- # All reward chances in a list must add up to or be less than 100.0
- # Example:
- #
- # rewards:
- # VIP_REWARDS:
- # priority: 1
- # permission: vip.rewards
- # max_rewards_per_crate: 1
- # only_owner_can_open: true
- # items:
- # item_1:
- # chance: 10.0
- # item:
- # material: DIAMOND
- # amount: 128
- # item_2:
- # chance: 15.0
- # item:
- # material: IRON_INGOT
- # amount: 64
- # item_3:
- # chance: 25.0
- # item:
- # material: DIRT
- # amount: 64
- # command_1:
- # chance: 25.0
- # commands:
- # - [command] eco give @p 25
- # - [msg] You got 25 bucks
- #
- # With this example, all of our chances add up to 75.0,
- # This means that there is a 25% chance that we get nothing each time a reward is
- # being selected. If we want to make sure players always get a reward, we could
- # simply add one more reward item or command with the remainder percentage for all of our
- # chances to equal 100.0, which would be 25.0.
- # This system allows you to set what items are rare, and which items are going to be
- # more commonly selected when the plugin chooses rewards.
- # Always keep in mind that all reward chances must be less than, or add up to 100.0
- # If your combined chance exceeds 100.0, the rewards that are being checked after 100.0 has
- # been reached will not be loaded. Also remember, to make it where a player has a chance to get
- # no reward, always leave the total chance less than 100.0 as all chance remaining will
- # be the chance amount that no reward is chosen.
- #
- # ==================================================
- #
- # CRATE SPAWN/DESPAWN/OPEN/COMMANDS ACTION IDENTIFIERS
- #
- # Any action added to these lists must contain a specific identifier
- # as there are more actions than just commands to be executed.
- # These actions are as follows:
- #
- # [msg] <message>
- # This will send a raw message to the target player
- #
- # [broadcast] <message>
- # This will broadcast a message to the entire server
- #
- # [command] <command here>
- # This will execute a command in the console
- #
- # [worldsound] <sound> <volume> <pitch>
- # This will play a sound to the entire world at the crate location
- #
- # [playersound] <sound> <volume> <pitch>
- # This will play a sound to the target player
- #
- # [effect] <effectName>
- # This will play a preset effect at the crate location
- #
- # effect names:
- # animatedball
- # arc
- # atom
- # bleed
- # circle
- # cloud
- # cone
- # cube
- # cylinder
- # disco
- # dna
- # donut
- # dragon
- # earth
- # explode
- # flame
- # fountain
- # grid
- # heart
- # helix
- # hill
- # icon
- # love
- # music
- # shield
- # smoke
- # sphere
- # star
- # tornado
- # vortex
- # warp
- # wave
- #
- # ==================================================
- #
- # Optional: display a temporary hologram above the MineCrate when it is spawned.
- #
- # To enable this feature, add the following entry to the top of your config file:
- #
- # You can either use HolographicDisplays API to display the hologram, or the internal
- # hologram mechanics. Set handler: none to disable holograms
- #
- # Note: the internal hologram handler is only available for 1.8.8
- # More hologram handlers will be coming soon.
- #
- # crate_hologram:
- # handler: none/internal/holographicdisplays
- # message:
- # - '%player%s MineCrate'
- # - '(Right click to open)
- # height: 2'
- #
- # Inside of the message, you can use the following placeholders:
- # %player% - shows players name who MineCrate is for
- # %area% - name of the area the crate spawned in
- # %rewardlist% - name of the list the rewards were chosen from
- # %rewards% - amount of rewards inside of the MineCrate
- #
- # ==================================================
- crate_hologram:
- handler: none
- message:
- - '&f%player%''s &aMineCrate'
- - '&e(&7Right click to open&e)'
- height: 2.2
- check_updates: true
- area_handler: World
- ignore_silk_touch: true
- crate_despawn_time: 30
- crate_material: ENDER_CHEST
- crate_inventory_name: '%reward_list_name% &aMineCrate'
- messages:
- help:
- - '&aMineCrates &fhelp'
- - '&a/minecrates reload &7- &freload the plugin'
- - '&a/minecrates info &7- &fView minecrates information for the area you are standing'
- - '&a/minecrates ignore &7- &ftoggle on/off ignoring minecrates for yourself'
- ignore_toggle_on: '&aYou are now ignoring MineCrates!'
- ignore_toggle_off: '&fYou are no longer ignoring MineCrates!'
- only_owner_can_open_crate: '&cOnly &f@p &ccan open this &aMineCrate!'
- no_permission: '&cYou don''t have permission to do that!'
- areas:
- world:
- permission: minecrates.getcrates.world
- drop_counter: 100
- drop_chance: 50.0
- cooldown: 30
- counted_materials:
- - COAL_ORE
- - IRON_ORE
- - GOLD_ORE
- - DIAMOND_ORE
- rewards:
- vip:
- priority: 1
- permission: minecrates.rewards.world.vip
- max_rewards_per_crate: 1
- only_owner_can_open: true
- crate_spawn_actions:
- - '[message] &aYou found a VIP MineCrate!'
- - '[command] eco give @p 100'
- - '[broadcast] &f@p &afound a MineCrate!'
- - '[effect] helix'
- crate_despawn_actions:
- - '[message] &7Your crate has despawned!'
- - '[effect] helix'
- items:
- example_item:
- chance: 20.0
- item:
- material: DIAMOND
- data: 0
- amount: 64
- name: '&bVIP &3Diamonds'
- lore:
- - This item is only available to players who
- - have permission for this vip reward list!
- enchantments:
- - LUCK,1
- example_command_1:
- chance: 1.0
- commands:
- - '[command] eco give @p 1000000'
- - '[msg] You got 1000000 dollars!'
- example_command_2:
- chance: 30.0
- commands:
- - '[command] eco give @p 500'
- - '[msg] You got 500 dollars!'
- example_command_3:
- chance: 49.0
- commands:
- - '[command] eco give @p 1000'
- - '[msg] You got 1000 dollars!'
- default:
- priority: 2
- max_rewards_per_crate: 1
- only_owner_can_open: false
- crate_spawn_actions:
- - '[message] &aYou found a regular MineCrate!'
- - '[command] eco give @p 100'
- - '[broadcast] &f@p &afound a MineCrate!'
- - '[effect] helix'
- items:
- example_item_1:
- chance: 5.0
- item:
- material: DIAMOND
- amount: 16
- example_item_2:
- chance: 10.0
- item:
- material: IRON_INGOT
- amount: 32
- example_command:
- chance: 85.0
- commands:
- - '[command] eco give @p 250'
- - '[msg] You got 250 dollars!'
本帖最后由 名副其实 于 2022-7-10 18:57 编辑
| Description | 插件介绍
本插件能够在WG设置了 flags 的区域内,对没有权限的玩家禁止飞行。
| Installation | 插件安装
你需要做的只有一件事,那就是将你需要限制飞行的区域手动或使用命令添加至本插件的配置文本中并输入命令 /nfz reload。任何只要没有权限 noflyzone.bypass 的玩家,进入该区域的瞬间就会被阻止飞行。
你需要 WorldGuard 6.x 或更高版本 以及 WorldEdit 以使插件正常运行!
| Source | 插件源码
本插件开源。你可以在这里找到它的源代码。
https://github.com/extendedclip/NoFlyZone
|
| Description | 插件介绍
NoFlyZone is a plugin that prevents players from flying in specific WorldGuard regions if they do not have permission.
本插件能够在WG设置了 flags 的区域内,对没有权限的玩家禁止飞行。
| Installation | 插件安装
All you need to do is add the region name to the NoFlyZone config list either by command or by editing the config manually and using /nfz reload. Anyone without the permission noflyzone.bypass will be stopped from flying as soon as they enter the region.
You NEED WorldGuard 6.x + WorldEdit for this plugin to work!
你需要做的只有一件事,那就是将你需要限制飞行的区域手动或使用命令添加至本插件的配置文本中并输入命令 /nfz reload。任何只要没有权限 noflyzone.bypass 的玩家,进入该区域的瞬间就会被阻止飞行。
你需要 WorldGuard 6.x 或更高版本 以及 WorldEdit 以使插件正常运行!
| Source | 插件源码
This plugin is open source. You can get the source code from here:
https://github.com/extendedclip/NoFlyZone
本插件开源。你可以在这里找到它的源代码。
https://github.com/extendedclip/NoFlyZone
本帖最后由 名副其实 于 2022-7-10 19:04 编辑
| Commands & Permissions | 命令与权限
Player Commands | 玩家命令
Admin Commands | 管理员命令
等价用法: /noflyzone: /nfz
Permissions | 权限列表
|
| Commands & Permissions | 命令与权限
Player Commands | 玩家命令
| 命令 | 权限 | 描述 |
| /noflyzone | - | 显示本插件的信息 |
Admin Commands | 管理员命令
| 命令 | 权限 | 描述 |
| /noflyzone list (世界名称) | noflyzone.admin | 列出所有(加参数则是当前世界)的禁止飞行区 |
| /noflyzone add | noflyzone.admin | 添加禁止飞行区 |
| /noflyzone remove | noflyzone.admin | 删除禁止飞行区 |
| /noflyzone reload | noflyzone.admin | 重载配置文件 |
等价用法: /noflyzone: /nfz
Permissions | 权限列表
| 权限 | 描述 |
| noflyzone.bypass | 允许无视飞行限制 |
| noflyzone.autofly.all | 允许在可自动飞行的区域内自动开启飞行 |
本帖最后由 名副其实 于 2022-7-14 21:08 编辑
| Configuration | 示例配置
config.yml
复制代码
|
| Configuration | 示例配置
config.yml
- # NoFlyZone version: 2.0.0 Main Configuration
- #
- # List regions below that will disable players from flying when they enter them
- no_fly_worlds:
- - world_nether
- - world_the_end
- no_fly_regions:
- world:
- - testflyregion
- no_fly_message: '&cNo flying here!'
- auto_fly_message: '&aYour flight has been toggled on!'
|
| Description | 插件描述

Ever have that urge to punch a cow, but everytime you do its just so unsatisfying? Well I've got the plugin for you, this plugin allows cows to float up in into the sky after being punched by a player... and then come crashing down to the ground ultimately coming their end.
所有人都想攻击牛,但是有时候你不会觉得这让人太不爽了吗?好吧,我为你准备了一份插件,这个插件允许牛在被玩家击打一次后悬浮在空中,等到它们摔到地上的时候就能获得现成的
本帖最后由 名副其实 于 2022-7-14 21:16 编辑
| Commands & Permissions | 命令与权限
|
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| 无 | cowpunch.use | 允许使用本插件的功能。 |
|
| Description | 插件介绍

This is a fun little plugin that allows fireworks to come shooting out of any configured block clicked by a player. It also includes a configurable cooldown per block to stop pesky spammers.
这是一个小小的娱乐向插件,允许在一个玩家在触碰配置文本中设置好的方块之后让这个方块发送许多的烟花,配置文本中海油一个选项可以决定每个方块发射烟花的持续时间。

插件的展示图片。
|
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| 无 | fireworkchests.use | 允许使用本插件的功能。 |
本帖最后由 名副其实 于 2023-1-22 13:52 编辑
| Configuration | 示例配置
复制代码
请确保 LauncherBlock 项设置的方块是有效的方块种类!
|
| Configuration | 示例配置
- LaunchMessage: '&6Fireworks Launched!'
- CooldownMessagePlural: '&cRestocking fireworks, please wait %time% seconds!'
- CooldownMessage: '&cRestocking fireworks, please wait %time% second!'
- CooldownTime: 5
- NumberOfFireworks: 3
- LauncherBlock: TRAPPED_CHEST
请确保 LauncherBlock 项设置的方块是有效的方块种类!
本帖最后由 名副其实 于 2022-7-14 21:23 编辑
| Description | 插件介绍

本插件允许让有合适权限的玩家使用生鱼作为武器,以一种混乱的方式拍飞周围的玩家。这是一个很简单的事情,这些有权限能使用该功能的任意玩家,能够击飞另一些有权限被击飞的玩家(是的,听起来很搞笑)。也就是说,他们只要碰到你手里的鱼,就会瞬间被干飞!(河豚是在这之中击退效果最强的)
由于新的鱼被加入了游戏,在 1.11.0 或更高的版本你需要使用河豚才能让一些效果正常工作!
|
| Description | 插件介绍

FishSlapper allows any player with the correct permission to use raw fish as an tool to slap people around the server in a chaotic fashion. It's quite a simple concept, those with the permission allowing them have the permission to slap can slap anyone with the permission that allows them to be slapped. Once contact has been made between the fish and the player they are then sent flying away! (Pufferfish will allow for maximum slapping)
本插件允许让有合适权限的玩家使用生鱼作为武器,以一种混乱的方式拍飞周围的玩家。这是一个很简单的事情,这些有权限能使用该功能的任意玩家,能够击飞另一些有权限被击飞的玩家(是的,听起来很搞笑)。也就是说,他们只要碰到你手里的鱼,就会瞬间被干飞!(河豚是在这之中击退效果最强的)
Due to new fish added to the game, v1.11.0+ You need to use a Pufferfish for the effect to work!
由于新的鱼被加入了游戏,在 1.11.0 或更高的版本你需要使用河豚才能让一些效果正常工作!
本帖最后由 名副其实 于 2022-7-14 21:31 编辑
| Commands & Permissions | 命令与权限
|
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| /slap 玩家名称 | FishSlapper.SlapCommand | |
| /slapall | FishSlapper.SlapAll | |
| 无 | FishSlapper.ICanSlapYou | 允许玩家使用生鱼击飞其他玩家 |
| 无 | FishSlapper.ICanBeSlapped | 允许玩家被生鱼击飞 |
|
| Configuration | 示例配置
config.yml
- SlapMessage: '&6You slapped &e%player%&6!'
- SlappedMessage: '&6You got slapped by &e%player%!'
- ServerSlap: '&4%player% &cslapped everyone on the server!'
- SlapCommand: '&f%player% &aslapped you!'
- SlapCommandWorked: '&f%player% &awas slapped!'
- SlapCommandConsole: '&aYou have been slapped!'
- NoPerms: '&cYou don''t have permission to use this command!'
|
| Description | 插件介绍

Just a simple plugin to send a raw message (No Prefix) from in game or console with PlaceholderApi placeholders to either a single player or broadcast it to the whole server.
只是一个允许向玩家发送纯文本消息(无前缀)的插件。支持 PlaceholderAPI ,以及支持在游戏内或后台中发送。当然也支持向单个或者多个玩家甚至是全服发送。

插件的演示图片。
本帖最后由 名副其实 于 2022-7-14 21:52 编辑
| Commands & Permissions | 命令与权限
<centered> - 如果设置为 true ,那么本插件会在输出这些信息的时候尝试使这条消息看起来居中。
你也可以使用 <n> 用作换行符。若要添加一个空行,那么只需要输入两个这样的符号!
致 1.16+ 的用户:
#<??????> 使用彩色字体
将 ? 替换成 HEX 的十六进制值,例如 #<ffffff>
|
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| /RawMsg <玩家名称/all(所有玩家)> <centered(是否居中)> <纯文本消息> | rawmsg.use | 允许使用本插件的功能。 |
<centered> - If set to true RawMsg will attempt to center the message when sending it to the player.
You can use <n> in the message to add a new line. To add a blank line just use two!
For 1.16+ Users:
#<??????> for custom hex colours
Replace ?'s with hex value eg #<ffffff>
<centered> - 如果设置为 true ,那么本插件会在输出这些信息的时候尝试使这条消息看起来居中。
你也可以使用 <n> 用作换行符。若要添加一个空行,那么只需要输入两个这样的符号!
致 1.16+ 的用户:
#<??????> 使用彩色字体
将 ? 替换成 HEX 的十六进制值,例如 #<ffffff>
|
| Description | 插件介绍

Let your players spit like Llamas using the /spit command, this will fire spit from the player in the direction they are looking in.
使用 /spit 命令来像羊驼一样吐口水。这会让他们向视角所在方向吐出一坨

插件的演示图片。
| Spit | Send Raw Messages to a player or the server with PlaceholderApi Support |
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| /spit | spit.use | 允许吐口水。 |
| Temp MOTD | Set a timed temporary message all from one command! |
| Description | 插件介绍

Set a timed message to show up in your server list MOTD, broadcast events in your message, Thank voters in your message, Congratulate rankups in your message and much more.
为服务器的 MOTD 设置一个临时的显示样式,可以在这些内容里推送你服务器的最新活动,感谢为你服务器点赞的游戏用户,以及庆祝服务器里成功升级的玩家,还有更多。
插件示例用法
Using ChatReaction you can launch commands on correct guesses, use this to show off who won the reaction win and tell others to join in on the fun.
使用插件 ChatReaction 你可以在玩家猜对答案时发送临时 MOTD,用于庆祝答题者的胜利以及吸引其他玩家进服游玩。

Using EzRanksPro on a rankup you can run the TempMotd command in the console and show off who ranked up and what they ranked up to!
使用插件 EzRanksPro 你可以在这里使用本插件的命令,可以用来显示升级成功的玩家,同样可以吸引其他玩家进入服务器。

More examples include:
- Thank players for donating to the server.
- Thank players for voting for the server.
- Broadcast Drop Parties or other events.
- Congratulate on level ups.
And many more.
还有这些情况也可使用:
- 感谢玩家捐赠资助服务器
- 感谢玩家投票支持服务器
- 公布送礼或其他活动
- 祝贺某玩家升级成功
以及更多...
本帖最后由 名副其实 于 2022-7-14 22:15 编辑
| Commands & Permissions | 命令与权限
|
| Commands & Permissions | 命令与权限
| 命令 | 权限 | 描述 |
| /TempMotd <持续时间> <消息> | tempmotd.use | 允许发送命令来使用此功能,时间单位为秒。 |
| /TempMotd Stop | tempmotd.use | 允许强制停止当前正在推送的 MOTD |
| /TempMotd Reload | tempmotd.use | 允许重载配置文件。 |
|
| Configuration | 示例配置
config.yml
- # TempMOTD Config File
- # By Funnycube
- #
- #DefaultMOTD: What is shown when no temp MOTD are active (Use \n for new line)
- #TempMOTD: What is shown when there is a temp MOTD is active (Use \n for new line & use %message% for where the temp section will go)
- #
- DefaultMOTD: "&b&lMy Server&r &7|&r &dSomeRandomIp.com&r\n&7Come join my server!"
- TempMOTD: "&b&lMy Server&r &7|&r &dSomeRandomIp.com&r\n%message%"
本帖最后由 名副其实 于 2023-2-22 22:27 编辑
| Description | 插件介绍
本插件为服务器带来了一个 RPG 风格的公会系统。本插件启发自一些服务器环境中那些玩家自发组成的和谐友爱和激动人心的团体的做法。本插件允许你加入其他玩家所组成的公会,同时允许玩家咋子服务器建立自己的团体,最终提升游戏趣味性!
| Features | 插件特点
- 公会阶级(角色)
- 成员等级(包括各等级的自定义公会内权限)
- 公会领地(需要 WorldGuard)
- 公会银库
- 公会仓库(可任意创建)
- 公会效果
- 自定义公会聊天格式
- 公会战(可通过 Arenas 插件自定义战斗场地)
- 多语言支持
- 完全GUI包装!
- JSON / MySQL / SQLite 支持!
| Dependencies (soft) | 插件软依赖
Vault
WorldGuard
PlaceholderAPI
Essentials(X)
点击这里或翻到下一页来获得更多相关信息。
| Supported Platforms | 支持的服务端核心
- Spigot
- Paper
- CatServer?(很多人通过多种方式告诉我,本插件可以在这样的服务端上运行。不论如何还是把它贴在这里好了。)
(译者注:这个服务端核心为 模组-插件混合端,使用插件时兼容性不如原生插件端)
(该插件可以在离线服务器上运行但未经测试,同样,在这种环境下的问题将不会得到技术支持。)
| Languages | 语言支持
本插件中,我们通常尝试用尽可能多种类的语言来使得更多玩家的使用体验变得更好!本插件目前支持二十多种语言,但不是所有语言都保持着完全翻译。若你对这其中的一种语言非常熟悉并愿意翻译,请加入我们的 Discord 群组来了解更多相关信息!
|
| Description | 插件介绍
Guilds were created to offer an RPG-type system to servers. It was inspired by players like you who enjoy creating a fun, exciting, and adventurous environment for your server. Guilds allow players to join interactive groups of other players, make their own communities on your server, and have a general fun time!
本插件为服务器带来了一个 RPG 风格的公会系统。本插件启发自一些服务器环境中那些玩家自发组成的和谐友爱和激动人心的团体的做法。本插件允许你加入其他玩家所组成的公会,同时允许玩家咋子服务器建立自己的团体,最终提升游戏趣味性!
| Features | 插件特点
Per-Guild Hierarchy (Roles)
Tiers (Includes perks of your choosing)
Claims (via WorldGuard)
Banks
Vaults (As many as your choose!)
Buffs
Per-Guild Chat
Wars (via Arenas that you make)
Multilingual
Tons of GUIs!
JSON + MySQL + SQLite support!
- 公会阶级(角色)
- 成员等级(包括各等级的自定义公会内权限)
- 公会领地(需要 WorldGuard)
- 公会银库
- 公会仓库(可任意创建)
- 公会效果
- 自定义公会聊天格式
- 公会战(可通过 Arenas 插件自定义战斗场地)
- 多语言支持
- 完全GUI包装!
- JSON / MySQL / SQLite 支持!
| Dependencies (soft) | 插件软依赖
Vault
WorldGuard
PlaceholderAPI
Essentials(X)
点击这里或翻到下一页来获得更多相关信息。
| Supported Platforms | 支持的服务端核心
- Spigot
- Paper
- CatServer?(很多人通过多种方式告诉我,本插件可以在这样的服务端上运行。不论如何还是把它贴在这里好了。)
(译者注:这个服务端核心为 模组-插件混合端,使用插件时兼容性不如原生插件端)
(该插件可以在离线服务器上运行但未经测试,同样,在这种环境下的问题将不会得到技术支持。)
| Languages | 语言支持
In Guilds, we always try to support as many languages as we can in order to support more people! The plugin currently supports 20 languages, but not all of them are always up-to-date on the translations. If you speak a language fluently other than English and are interested in translating, please join our discord and let us know so that we can give you information on how to do that!
本插件中,我们通常尝试用尽可能多种类的语言来使得更多玩家的使用体验变得更好!本插件目前支持二十多种语言,但不是所有语言都保持着完全翻译。若你对这其中的一种语言非常熟悉并愿意翻译,请加入我们的 Discord 群组来了解更多相关信息!
本帖最后由 名副其实 于 2023-2-23 22:32 编辑
| Configuration | 配置文本
当本插件第一次在服务器运行时,它将会生成下列的文件:
buffs.yml
config.yml
roles.yml
tiers.yml
基于本插件的灵活性以及你可添加的内容数量,本插件的配置被分在了四个独立的文件中。
buffs.yml复制代码
config.yml复制代码
roles.yml复制代码
tiers.yml复制代码
|
| Configuration | 配置文本
When the plugin starts up for the first time, the following files will be generated:
buff.yml
config.yml
roles.yml
tiers.yml
The configuration for the plugin is split up into multiple files due to how flexible the plugin is and how much custom data you can add to it.
当本插件第一次在服务器运行时,它将会生成下列的文件:
buffs.yml
config.yml
roles.yml
tiers.yml
基于本插件的灵活性以及你可添加的内容数量,本插件的配置被分在了四个独立的文件中。
buffs.yml
- guild-buffs:
- # What should the name of the inventory be?
- gui-name: Guild Buffs
- # How often (in seconds) can a guild buy a buff?
- cooldown: 60
- # Do we want to allow users to have more than one buff at a time?
- buff-stacking: false
- # Set the name and material for the navigation buttons
- nav:
- next:
- material: EMPTY_MAP
- name: Next
- previous:
- material: EMPTY_MAP
- name: Previous
- # This is where the buffs themselves are to be created. You can create an unlimited number of buffs as long as the IDENTIFIERS are different.
- # Ths identifiers can be anything you want, they just tell the plugin that they aren't the same as the buff before.
- # The buffs are loaded into the menu in the order they are listed in the config. So, to change the order, simply change their location in their list of the config.
- # Example Buff:
- # # The identifier of the buff, can be anything you want.
- # - identifier: '1'
- # This is what the buff will look like to the player when they DON'T have the permission listed below.
- # locked:
- # name: '&a&lSubstance of the Redmod Graff'
- # material: FEATHER
- # lore:
- # - '&aType » &7Haste'
- # - '&aLength » &760 Seconds'
- # - '&aCost » &7$60'
- # This is what the buff will look like to the player when they DO have the permission listed below.
- # unlocked:
- # name: '&a&lSubstance of the Redmod Graff'
- # material: FEATHER
- # lore:
- # - '&aType » &7Haste'
- # - '&aLength » &760 Seconds'
- # - '&aCost » &7$60'
- # The price of the buff, pulled from Guild Bank.
- # price: 60.0
- # The effects that the guild will get for buying the buff. You should be able to list as many as you want.
- # The way you do it is: EFFECT_TYPE;AMPLIFICATION;LENGTH OF BUFF
- # So, this effect here will give Haste I for 60 seconds.
- # effects:
- # - FAST_DIGGING;0;60
- # The permission required to purchase the buff.
- # permission: example.perm.here
- # Would you like to execute commands on the player that bought the buff for the guild? Supports {player}, {buyer}, {buff_name}.
- # clicker:
- # enabled: false
- # commands:
- # - ''
- # Would you like to execute commands on the guild that bough the buff? Supports {player}, {buyer}, {buff_name}.
- # guild:
- # enabled: false
- # commands:
- # - ''
- buffs:
- - identifier: '1'
- locked:
- name: '&a&lSubstance of the Redmod Graff'
- material: FEATHER
- lore:
- - '&aType » &7Haste'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lSubstance of the Redmod Graff'
- material: FEATHER
- lore:
- - '&aType » &7Haste'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - FAST_DIGGING;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '2'
- locked:
- name: '&a&lBlessing of the Cheetah'
- material: SUGAR
- lore:
- - '&aType » &7Speed'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lBlessing of the Cheetah'
- material: SUGAR
- lore:
- - '&aType » &7Speed'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - SPEED;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '3'
- locked:
- name: '&a&lScales of the Dragon'
- material: BLAZE_POWDER
- lore:
- - '&aType » &7Fire-Resistance'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lScales of the Dragon'
- material: BLAZE_POWDER
- lore:
- - '&aType » &7Fire-Resistance'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - FIRE_RESISTANCE;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '4'
- locked:
- name: '&a&lEyes of the Lurking Demon'
- material: EYE_OF_ENDER
- lore:
- - '&aType » &7Night-Vision'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lEyes of the Lurking Demon'
- material: EYE_OF_ENDER
- lore:
- - '&aType » &7Night-Vision'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - NIGHT_VISION;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '5'
- locked:
- name: '&a&lFeet of the Ghostly Walker'
- material: DIAMOND_BOOTS
- lore:
- - '&aType » &7Invisibility'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lFeet of the Ghostly Walker'
- material: DIAMOND_BOOTS
- lore:
- - '&aType » &7Invisibility'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - INVISIBILITY;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '6'
- locked:
- name: '&a&lMighty Strength of the Pouncing Lion'
- material: DIAMOND_SWORD
- lore:
- - '&aType » &7Strength'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lMighty Strength of the Pouncing Lion'
- material: DIAMOND_SWORD
- lore:
- - '&aType » &7Strength'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - INCREASE_DAMAGE;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '7'
- locked:
- name: '&a&lBounce of the Quick Witted Rabbit'
- material: DIAMOND_BOOTS
- lore:
- - '&aType » &7Jump'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lBounce of the Quick Witted Rabbit'
- material: DIAMOND_BOOTS
- lore:
- - '&aType » &7Jump'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - JUMP;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '8'
- locked:
- name: '&a&lLungs of the Albino Shark'
- material: BUCKET
- lore:
- - '&aType » &7Water-Breathing'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lLungs of the Albino Shark'
- material: BUCKET
- lore:
- - '&aType » &7Water-Breathing'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - WATER_BREATHING;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
- - identifier: '9'
- locked:
- name: '&a&lIntegrity of the Mystic Witch'
- material: EMERALD
- lore:
- - '&aType » &7Regeneration'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- unlocked:
- name: '&a&lIntegrity of the Mystic Witch'
- material: EMERALD
- lore:
- - '&aType » &7Regeneration'
- - '&aLength » &760 Seconds'
- - '&aCost » &7$60'
- price: 60.0
- effects:
- - REGENERATION;0;60
- permission: example.perm.here
- clicker:
- enabled: false
- commands:
- - ''
- guild:
- enabled: false
- commands:
- - ''
config.yml
- # Guilds
- # Creator: Glare
- # Contributors: https://github.com/guilds-plugin/Guilds/graphs/contributors
- # Issues: https://github.com/guilds-plugin/Guilds/issues
- # Spigot: https://www.spigotmc.org/resources/66176/
- # Wiki: https://wiki.glaremasters.me/
- # Discord: https://glaremasters.me/discord
- settings:
- announcements:
- # This is used for the Guild's Announcement System, which allow me (The Author) to communicate to you guys without updating.
- # The way this works is very simple. If you have "console" set to "true", you will see the announcement when the server starts.
- # If you have "in-game" set to "true", your OPed players will see it the first time they login to the server.
- console: true
- in-game: true
- # Choosing your language for the plugin couldn't be easier! The default language is english.
- # If you speak another language but don't see it here, feel free to submit it via one of the links above to have it added to the plugin.
- # If you try and use a different language than any in the list above, the plugin will not function in a normal manner.
- # As you can see this is currently en-US, and there is a en-US.yml file in the language folder.
- # If I wanted to switch to french, I would use fr-FR as the language instead.
- messagesLanguage: en-US
- # Would you like to check for plugin updates on startup? It's highly suggested you keep this enabled!
- update-check: true
- # What would you like the command aliases for the plugin to be?
- # You can have as many as your want, just separate each with | and NO SPACES.
- plugin-aliases: guild|guilds|g
- # Change this to whatever you change it to above, this will handle the changes within <>
- # Keep in mind you should only set it to ONE thing. Such as guild, town, etc.
- syntax-name: guild
- # Would you like to run vault permission changes async? (Will be less stress on the main thread and prevent lag)
- # Async is used by LuckPerms.
- # Set this to false if you are using PEx.
- # I do suggest you switch to LuckPerms so that you can keep it async, but ultimately the choice is yours.
- run-vault-async: true
- storage:
- # What storage method should be used? (MySQL, MariaDB, JSON, SQLite)
- storage-type: json
- # How often (in minutes) do you want all Guild Data to save?
- save-interval: 1
- sql:
- # Define the address for the database. (Doesn't apply to SQLite)
- host: localhost
- # Define the port for the database. (Doesn't apply to SQLite)
- port: '3306'
- # The name of the database to store data in.
- # This must be already created! (Doesn't apply to SQLite)
- database: guilds
- # The prefix for all Guilds tables.
- table-prefix: guilds_
- # Define the credentials for the database. (Doesn't apply to SQLite)
- username: root
- password: ''
- # Sets whether or not to use SSL for the remote SQL database connection (Doesn't apply to SQLite)
- enable-ssl: false
- # These settings change the SQL connection pool.
- # The default settings are optimized for the majority of users.
- # Do NOT change these settings unless you know what you are doing!
- # For those looking to migrate data:
- # IF YOU ARE MIGRATING FROM JSON OR SQLITE TO MYSQL THE SETTINGS MUST BE CONFIGURED EVEN IF THE DATA TYPE IS SET TO JSON OR MYSQL.
- # When migrating to MySQL, it will attempt to use the MySQL backend (grab the login information here) in order to connect to the database.
- # We are not responsible for data loss if you are too lazy to read the warnings.
- # ALWAYS REMEMBER TO BACKUP DATA BEFORE MIGRATING.
- # Lastly, remember to change your storage-type to the type you're migrating to before you reboot.
- pool:
- # Sets the maximum size of the SQL connection pool.
- # This value will determine the maximum number of connections maintained. (Doesn't apply to SQLite)
- maximum-pool-size: 10
- # Sets the minimum number of idle connections that the pool will maintain.
- # For maximum performance keep this value the same as 'maximum-pool-size' (Doesn't apply to SQLite)
- minimum-idle: 10
- # Sets the maximum lifetime of a connection in the pool in milliseconds. (Doesn't apply to SQLite)
- maximum-lifetime: 1800000
- # Sets the maximum number of milliseconds for a connection in the pool before timing out. (Doesn't apply to SQLite)
- connection-timeout: 5000
- hooks:
- # Do we want to hook into Essentials-Chat format to handle guild placeholders?
- essentials-chat: false
- # Do we want to hook into WorldGuard to allow claiming land?
- worldguard-claims: false
- # Use the following website to get available materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
- # This can work across all MC versions and will attempt to use the proper material based on what version of MC you are using.
- guis:
- # What time format should we use in the GUIs?
- # You can use this site to build it https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
- time-format: MMM, d, yy hh:mm aaa
- guild-list:
- # What should the name of the inventory be?
- gui-name: Guild List
- # What should the name of the all the items be in the inventory?
- # Currently supports {player} and {guild}.
- item-name: '&f{player}''s Guild'
- # How should the menu be sorted?
- # LOADED: In the order that the Guilds were loaded on startup
- # TIER: In order from highest tier to lowest tier
- # MEMBERS: In order from most members to least members
- # BALANCE: In order from most in bank to least
- # WINS: In order from most arena wins to least
- # NAME: In order by name
- # AGE: In order from first created to last
- sort: LOADED
- # What item should players click to go to the next page?
- next-page-item: EMPTY_MAP
- # What should the name of this item be?
- next-page-item-name: '&fNext Page'
- # What item should players click to go to the previous page?
- previous-page-item: EMPTY_MAP
- # What should the name of this item be?
- previous-page-item-name: '&fPrevious Page'
- # What should be the default texture url for textures that fail to load in? Refer to the Guild Manage settings to see how to change the texture!
- head-default-url: 7a2df315b43583b1896231b77bae1a507dbd7e43ad86c1cfbe3b2b8ef3430e9e
- # Do we want to try to use skull textures or just ignore them and use ** provided?
- use-default-texture: false
- # You are free to design this to your liking
- # This is just an example of all the available placeholders that you can use for the lore!
- # Note: With v3.6.7 and on, you can now use {guild-tier-name} for the name of the tier.
- # Also, from v3.6.7 and on, {guild-status} will now apply from what you set for the guild-info GUI for the status being public or private.
- # In version 3.5.2.2, {guild-challenge-wins} and {guild-challenge-loses} have been added.
- # In version 3.5.3.3, {creation} was added to display the creation date of the guild
- head-lore:
- - '&cName&8: &a{guild-name}'
- - '&cPrefix&8: &a{guild-prefix}'
- - '&cMaster&8: &a{guild-master}'
- - '&cStatus&8: &a{guild-status}'
- - '&cTier&8: &a{guild-tier}'
- - '&cBalance&8: &a{guild-balance}'
- - '&cMember Count&8: &a{guild-member-count}'
- - '&cCreation Date&8: &a{creation}'
- # Here you can control what the GUI looks like that allows players to choose which vault to open
- # You can do things like set the name of the gui, the material to use, material name, and lore!
- vault-picker:
- # What do you want the name of the gui to be?
- # Currently supports {name} for the name of the guild.
- name: '&8» &r{name}''s Vaults'
- # How many rows would you like to display?
- rows: 1
- # What do you want the material of the vaults to be?
- item-material: CHEST
- # WHat do you want the name of the vault to be?
- # I recommend keeping this blank so that we can put the vault number in the lore.
- item-name: ' '
- item-lore:
- - '&8• &7Vault &9#{number}'
- - '&8• &7Status: {status}'
- - ''
- # What do you want to show when a vault is unlocked?
- unlocked: '&9Unlocked'
- # What do you want to show when a vault is locked?
- locked: '&c&mLocked&r'
- vault:
- # What do you want the name of the Vault to be?
- # Note: This requires a restart to change the inventory names.
- name: '&8» &rGuild Vault'
- blacklist:
- # What materials would you like to blacklist from being put into the vaults?
- materials:
- - ''
- # What custom names of items would you like to blacklist from being put into the vaults?
- names:
- - ''
- # What custom lore do you want to blacklist from being put into the vaults?
- # Please keep in mind this can be prove to false-positives so please let me know if you have issues.
- # This will currently loop through your lore to check for any strings you have in the list to check.
- # Improvements will be made over time. Thanks for your patience and suppport in advanced.
- lores:
- - ''
- # Welcome to the Guild Info GUI section of the config.
- # Here you can modify the configuration of what the Guild Info GUI looks like.
- # This can be used by any member of a Guild and shows key information of the Guild.
- # You can see things like the members, the balance, tier, etc.
- guild-info:
- # What would you like the name of the GUI to be?
- # Currently supports {name} for the name of the guild and {prefix} for the prefix of the guild
- name: '&8» &r{name}''s Info'
- # What material do you want the tier button to be?
- tier-material: DIAMOND
- # What do you want the name of the tier button to be?
- tier-name: '&3Guild Tier'
- # What do you want the lore of the tier button to be?
- tier-lore:
- - '&8• &7Level: &b{tier}'
- # Would you like to display this button?
- tier-display: true
- # What material do you want the bank button to be?
- bank-material: GOLD_INGOT
- # What do you want the name of the bank button to be?
- bank-name: '&6Guild Bank'
- # What do you want the lore of the bank button to be?
- bank-lore:
- - '&8• &7Balance: &e{current} &7/ &e{max}'
- # Would you like to display this button?
- bank-display: true
- # What material do you want the members button to be?
- members-material: IRON_HELMET
- # What do you want the name of the members button to be?
- members-name: '&5Guild Members'
- # What do you want the lore of the members button to be?
- members-lore:
- - '&8• &7Members: &d{current} &7/ &d{max}'
- - '&8• &7Online: &d{online} &7/ &d{current}'
- - ''
- - '&7Click to view members!'
- # Would you like to display this button?
- members-display: true
- status-material:
- # What material do you want the status button to be when a guild is public?
- public: EMERALD
- # What material do you want the status button to be when a guild is private?
- private: REDSTONE
- # What do you want the name of the status button to be?
- status-name-item: '&2Guild Status'
- status-name:
- # What do you want the status to say if it's public?
- public: '&aPublic'
- # What do you want the status to say if it's private?
- private: '&cPrivate'
- # What do you want the lore of the status button to be?
- status-lore:
- - '&8• &7Status: &r{status}'
- # Would you like to display this button?
- status-display: true
- # What material do you want the home button to be?
- home-material: BED
- # What do you want the name of the home button to be?
- home-name: '&cGuild Home'
- # What do you want the lore of the home button to be?
- home-lore:
- - '&8• &7Home: &f{coords}'
- # Would you like to display this button?
- home-display: true
- # What do you want it to say when a guild doesn't have a home set?
- home-empty: '&fNot Set'
- # Do you want players to be teleported to their guild home when they click this?
- home-teleport: false
- # What material do you want the vault button to be?
- vault-material: CHEST
- # What do you want the name of the home button to be?
- vault-name: '&9Guild Vaults'
- # What do you want the lore of the vault button to be?
- vault-lore:
- - '&7Click here to open your guild vaults!'
- # Would you like to display this button?
- vault-display: true
- # What material do you want the motd button to be?
- motd-material: SIGN
- # What do you want the name of the motd button to be?
- motd-name: '&6Guild MOTD'
- # What do you want the lore of the motd button to be?
- motd-lore:
- - '{motd}'
- # Would you like to display this button?
- motd-display: true
- # This part of the config controls what the members gui looks like.
- # You can get to this in game by clicking on the members icon via the guild info gui.
- guild-info-members:
- # How should the menu be sorted?
- # ROLE: In order from highest role to lowest
- # NAME: In order by their username
- # AGE: In order of length in guild
- sort: ROLE
- # What would you like the name of the GUI to be?
- name: '&8» &rMembers of {name}'
- item:
- # What material do you want to use to represent members?
- material: EMPTY_MAP
- # What do you want the name of the item to be?
- name: ' '
- # What do you want the lore of the item to be?
- lore:
- - '&8• &7Name: &a{name}'
- - '&8• &7Role: &a{role}'
- - '&8• &7Status: {status}'
- - '&8• &7Join Date: &a{join}'
- - '&8• &7Last Login: &a{login}'
- # What do you want to be what shows when a member is online?
- online: '&aOnline'
- # What do you want to be what shows when a member is offline?
- offline: '&cOffline'
- guild:
- requirements:
- # With the default RegEx currently set, the minimum length of the prefix is 1 and the maximum is 64.
- # To change this, adjust the number and you can refer to the link below on how to modify RegEx.
- # RegEx (https://en.wikipedia.org/wiki/Regular_expression) used to only allow certain characters (default only allows alphanumeric characters).
- # To turn off the ability to use colors, remove the & from the RegEx.
- # Trying to use symbols such as Chinese ones? Try this Regex: [\u4E00-\u9FA5_a-zA-Z0-9&_\一-龥]{1,6}
- name: '[a-zA-Z0-9&]{1,64}'
- # Similar to the name, just refer above.
- prefix: '[a-zA-Z0-9&]{1,20}'
- # Would you like to include color codes signs (&b &l, etc) in the length check?
- include-color-codes: true
- # Would you like to allow players to make a guild without a prefix?
- disable-prefix: false
- # Would you like player to respawn at their guild home (if they have one) when they die?
- respawn-at-home: false
- blacklist:
- # Do we want to enable the blacklist?
- enabled: true
- # Do we want the blacklist to be case sensitive?
- case-sensitive: true
- # What words would you like to blacklist from being used?
- words:
- - crap
- - ass
- - stupid
- format:
- # This is the style used when a message sent in guild chat.
- # As of 3.4.7, this now supports {display-name} to show the display name of a player.
- chat: '&7&l[Guild Chat]&r &b[{role}&b]&r &b {player}: {message}'
- # This is the style used when a message is sent to ally chat
- ally-chat: '&7&l[Ally Chat]&r &b[{guild}&b]&r &b {player}: {message}'
- # Similar to ** above, just for the admins spying.
- spy: '&7&l[Guild Spy]&r &b[{guild}&b]&r &b[{role}&b]&r &b {player}: {message}'
- # Would you like to log the guild chat to console?
- log-guild-chat: false
- # Would you like to log the ally chat to console?
- log-ally-chat: false
- # Used for {GUILD_FORMATTED} and %guilds_formatted%
- placeholder-design:
- # The left bracket in the placeholder
- left-bracket: '['
- # The content of the placeholder. Either will be {name} or {prefix}
- content: '{name}'
- # What to show instead of the placeholder if there's no guild
- no-guild: ''
- # The right bracket in the placeholder
- right-bracket: ']'
- damage:
- # Do we want people in the same guild to be able to damage each other?
- guild: false
- # Do we want allies to be able to damage each other?
- ally: false
- # Would you like to send players their guild's motd on login?
- motd-on-login: true
- war:
- # How often (in minutes) can a guild be the defender in a war?
- # This is to help prevent abuse from guilds fighting each other to farm rewards.
- # This is defaulted to 1 day.
- defend-cooldown: 1440
- # Would you like to block commands while a player is in the war?
- disable-commands: false
- # How long does a defending guild have to accept a war challenge? (In seconds)
- accept-time: 120
- # What is the min number of players needed on each side for a war to start?
- min-players: 3
- # What is the max number of players allowed on each side for a war?
- max-players: 8
- # How long do players of both sides have to join the war? (In seconds)
- join-time: 60
- # How long should we wait to teleport the players and start the war after everyone joined?
- ready-time: 60
- # How would you like to notify the player about joining the war and the countdowns?
- # Options: [actionbar, title, subtitle, none]
- notify-type: actionbar
- post-challenge-commands:
- # Would you like to enable running commands after a challenge ends? (such as broadcasting)
- enabled: false
- # What commands would you like to run after a challenge ends??
- # Supports the following placeholder:
- # {challenger} - The name of the challenging Guild
- # {defender} - The name of the defending Guild
- # {winner} - The winner of the challenge
- # {loser} - The loser of the challenge
- commands:
- - ''
- rewards:
- # Would you like to give rewards to the winning guild?
- enabled: false
- # What rewards (commands) would you like to run for the winning Guild?
- # Current supports {player}.
- rewards:
- - ''
- timers:
- cooldowns:
- # How often (in seconds) can a player set their guild home?
- sethome: 60
- # How often (in seconds) can a player go to their guild home?
- home: 60
- # How often (in seconds) can a player request to join a guild?
- request: 60
- # How long should a user have to wait before joining a new guild after leaving one?
- join: 120
- warmups:
- home:
- # Do you want to enable making players stand still before teleporting?
- enabled: false
- # How long should a user have to stand still before teleporting?
- time: 3
- cost:
- # How much should it cost to create a guild?
- creation: 0.0
- # How much should it cost to rename a guild? (Leave at 0.0 to disable)
- rename: 0.0
- # How much should it cost to set the cost of the guild home?
- sethome: 0.0
- # This section of the config will allow you to handle guild land claiming.
- # Remember that the enable / disable for this is the WorldGuard Hook at the TOP of the config.
- # There are multiple options when it comes to guild claims. For the time being, all guilds will only get one claim.
- claims:
- # This is the number of blocks around the player it will try to create the region.
- # Keep in mind this is the RADIUS, it will go this many blocks in both directions.
- # For example, if you take the default 15, it'll do 30 total as it will go 15 blocks in both directions.
- # This is a CUBOID region, not SPHERE.
- radius: 15
- # Customize the entrance and exit message of joining claims.
- # Supports {prefix} for guild prefix and {guild} for guild name.
- # Also supports color codes!
- enter-message: '&aNow entering &d{guild}''s &aclaim!'
- exit-message: '&aNow leaving &d{guild}''s &aclaim!'
- # Would you like to disable guild claiming in specific worlds?
- disabled-worlds:
- - ''
- # Would you like to enable claim signs?
- # Format -
- # First Line: [Guild Claim]
- # Second Line: WorldGuard Region Name
- # Third Line: Price
- claim-signs: false
- # The text to look for on a sign for the guild claims
- claim-sign-text: '[Guild Claim]'
- # Would you like to make it so that claims can only be aquired through the purchasing with signs?
- # This will disable the regular claim commands.
- force-claim-signs: false
- tickets:
- # What do you want the name of the upgrade ticket to be?
- name: '&bGuild Upgrade Ticket'
- # What do you want the lore of the ticket to be?
- lore:
- - '&dRight click this ticket to upgrade your guild tier!'
- # What do you want the material of the ticket to be?
- material: PAPER
- codes:
- # How long do you want the default length of guild codes to be?
- length: 7
- # Do you want inactive codes (no uses left) to display on the /guild code list?
- list-inactive-codes: true
- # What is the max amount of active codes you would like to allow per guild?
- amount: 10
roles.yml
- roles:
- 0:
- name: GuildMaster
- permission-node: guilds.roles.master
- permissions:
- activate-buff: true
- add-ally: true
- ally-chat: true
- change-home: true
- change-prefix: true
- rename: true
- chat: true
- demote: true
- deposit-money: true
- invite: true
- kick: true
- open-vault: true
- promote: true
- remove-ally: true
- remove-guild: true
- toggle-guild: true
- transfer-guild: true
- upgrade-guild: true
- withdraw-money: true
- claim-land: true
- unclaim-land: true
- destroy: true
- place: true
- interact: true
- create-code: true
- delete-code: true
- see-code-redeemers: true
- modify-motd: true
- initiate-war: true
- 1:
- name: Officer
- permission-node: guilds.roles.officer
- permissions:
- activate-buff: false
- add-ally: true
- ally-chat: true
- change-home: true
- change-prefix: false
- rename: false
- chat: true
- demote: true
- deposit-money: true
- invite: true
- kick: true
- open-vault: true
- promote: true
- remove-ally: true
- remove-guild: false
- toggle-guild: false
- transfer-guild: false
- upgrade-guild: false
- withdraw-money: true
- claim-land: false
- unclaim-land: false
- destroy: true
- place: true
- interact: true
- create-code: true
- delete-code: true
- see-code-redeemers: true
- modify-motd: false
- initiate-war: true
- 2:
- name: Veteran
- permission-node: guilds.roles.veteran
- permissions:
- activate-buff: false
- add-ally: false
- ally-chat: true
- change-home: false
- change-prefix: false
- rename: false
- chat: true
- demote: false
- deposit-money: true
- invite: true
- kick: false
- open-vault: true
- promote: false
- remove-ally: false
- remove-guild: false
- toggle-guild: false
- transfer-guild: false
- upgrade-guild: false
- withdraw-money: false
- claim-land: false
- unclaim-land: false
- destroy: true
- place: true
- interact: true
- create-code: false
- delete-code: false
- see-code-redeemers: false
- modify-motd: false
- initiate-war: false
- 3:
- name: Member
- permission-node: guilds.roles.member
- permissions:
- activate-buff: false
- add-ally: false
- ally-chat: true
- change-home: false
- change-prefix: false
- rename: false
- chat: true
- demote: false
- deposit-money: true
- invite: false
- kick: false
- open-vault: true
- promote: false
- remove-ally: false
- remove-guild: false
- toggle-guild: false
- transfer-guild: false
- upgrade-guild: false
- withdraw-money: false
- claim-land: false
- unclaim-land: false
- destroy: true
- place: true
- interact: true
- create-code: false
- delete-code: false
- see-code-redeemers: false
- modify-motd: false
- initiate-war: false
tiers.yml
- # This section of the config will talk about various parts of upgrading a guild and allow you to choose how it works.
- # For "mob-xp-multiplier" the default is 1, meaning that it will drop the normal amount of XP for non-upgraded guilds.
- # DO NOT set it to 0, that will either throw errors or cause mobs to not drop XP.
- # Keep in mind for the damage-multiplier, it applies to players also, so by default it's set to normal for every tier.
- tiers:
- # Should permissions carry over between tiers?
- carry-over: true
- list:
- 1:
- # Which level tier is this? 1 is the default.
- level: 1
- # What is the name of this tier?
- name: Bronze
- # How much is this tier? (If first tier, keep as same price as cost creation)
- cost: 0.0
- # How many members can be in a guild of this tier?
- max-members: 15
- # How many Vaults would you like the Guild to be able to use?
- vault-amount: 1
- # How much extra XP should drop from mobs?
- mob-xp-multiplier: 1.0
- # How much extra damage should be done?
- damage-multiplier: 1.0
- # How much can this tier hold in the bank?
- max-bank-balance: 10000.0
- # How many members should be in a guild for it to be able to rankup?
- members-to-rankup: 0
- # What is the max amount of allies a guild with this tier can have?
- max-allies: 5
- # Would you like this tier to be able to open the buff GUI?
- use-buffs: true
- # If you wish to give this tier extra permissions, put them here.
- permissions:
- - example.perm.here
- 2:
- # Which level tier is this? 1 is the default.
- level: 2
- # What is the name of this tier?
- name: Silver
- # How much is this tier? (If first tier, keep as same price as cost creation)
- cost: 200.0
- # How many members can be in a guild of this tier?
- max-members: 30
- # How many Vaults would you like the Guild to be able to use?
- vault-amount: 2
- # How much extra XP should drop from mobs?
- mob-xp-multiplier: 2.0
- # How much extra damage should be done?
- damage-multiplier: 1.0
- # How much can this tier hold in the bank?
- max-bank-balance: 20000.0
- # How many members should be in a guild for it to be able to rankup?
- members-to-rankup: 0
- # What is the max amount of allies a guild with this tier can have?
- max-allies: 10
- # Would you like this tier to be able to open the buff GUI?
- use-buffs: true
- # If you wish to give this tier extra permissions, put them here.
- permissions:
- - example.perm.here
- 3:
- # Which level tier is this? 1 is the default.
- level: 3
- # What is the name of this tier?
- name: Gold
- # How much is this tier? (If first tier, keep as same price as cost creation)
- cost: 300.0
- # How many members can be in a guild of this tier?
- max-members: 50
- # How many Vaults would you like the Guild to be able to use?
- vault-amount: 3
- # How much extra XP should drop from mobs?
- mob-xp-multiplier: 3.0
- # How much extra damage should be done?
- damage-multiplier: 1.0
- # How much can this tier hold in the bank?
- max-bank-balance: 30000.0
- # How many members should be in a guild for it to be able to rankup?
- members-to-rankup: 0
- # What is the max amount of allies a guild with this tier can have?
- max-allies: 15
- # Would you like this tier to be able to open the buff GUI?
- use-buffs: true
- # If you wish to give this tier extra permissions, put them here.
- permissions:
- - example.perm.here
本帖最后由 名副其实 于 2023-2-25 22:48 编辑
| Commands & Permissions | 命令与权限
理解命令如何在本插件内运行是非常简单的。你要做的一切就是输入命令 /guilds ,然后你就会打开一个实用且美观的帮助界面!

用户组权限
为了使玩家/用户组能够使用本插件特定的命令,你可以给予这些权限:
成员:guilds.group.member
管理员:guilds.group.admin
等价命令
本插件的工程量非常巨大,记住命令对任何人来多都不是一件容易事。所以我们为玩家设计了等价命令用法,这样就可以省去玩家记住繁杂命令的事件了!任何地方都可以随你设置!当然也可以在配置文本里设置!
操作命令
操作命令允许用户在必要时做出选择。我们知道有些人就是喜欢乱试命令,所以我们增加了一个确认功能,来防止那些好奇心旺盛的用户造成不可挽回的后果。
/guild cancel
权限:guilds.command.cancel
如果用户有,那么使用该命令后可取消当前待执行的操作
/guild confirm
如果用户有,那么使用该命令后可确认当前待执行的操作
权限:guilds.command.confirm
管理员命令
就连管理员命令也简单易懂。它们能够设置本插件的一些内容,也能展示插件的一些详细数据和信息。
/guild admin addplayer <玩家名称> <公会名称>
权限: guilds.command.admin
强制将玩家加入公会.
/guild admin bank balance <公会名称>
权限: guilds.command.admin
查阅该公会的银行存款.
/guild admin bank deposit <公会名称> <数量>
权限: guilds.command.admin
将特定数量的钱存入银行.
/guild admin bank withdraw <公会名称> <数量>
权限: guilds.command.admin
将特定数量的钱取出银行.[注1]
/guild admin delhome <公会名称>
权限: guilds.command.admin
删除公会设置的家传送点.
/guild admin give <玩家名称> <数量>
权限: guilds.command.admin
给予玩家升级券.
/guild admin home <公会名称>
权限: guilds.command.admin
传送至公会设置的家传送点.
/guild admin motd <公会名称>
权限: guilds.command.admin
浏览公会欢迎标语.
/guild admin motd remove <公会名称>
权限: guilds.command.admin
删除公会欢迎标语.
/guild admin motd set <公会名称> <标题内容>
权限: guilds.command.admin
设置公会欢迎标语
/guild admin prefix <公会名称> <前缀>
权限: guilds.command.admin
强制更换公会前缀.
/guild admin remove <公会名称>
权限: guilds.command.admin
完全删除公会.
/guild admin removeplayer <玩家名称>
权限: guilds.command.admin
将玩家从公会中移出.
/guild admin rename <公会名称> <新公会名称>
权限: guilds.command.admin
强制修改公会名称.
/guild admin score resetall
权限: guilds.command.admin
强制重设公会所有战绩.
/guild admin score setwins <公会名称> <数量>
权限: guilds.command.admin
设置公会战斗胜利场数
/guild admin score setloses <公会名称> <数量>
权限: guilds.command.admin
设置公会战斗失败场数
/guild admin sethome
权限: guilds.command.admin
强制设置公会家传送点.
/guild admin spy
权限: guilds.chat.spy
切换所有公会聊天是否对自己可见.
/guild admin status <公会名称>
权限: guilds.command.admin
强制切换公会状态.
/guild admin transfer <公会名称> <新领袖名称>
权限: guilds.command.admin
强制转移公会领袖.
/guild admin upgrade <公会名称>
权限: guilds.command.admin
强制升级成员的公会等级.
/guild admin vault <公会名称>
权限: guilds.command.admin
打开公会的金库菜单
/guild reload
权限: guilds.command.admin
重载配置文件.
友军命令
友军命令能够展示本公会的盟友相关信息,例如盟友的名称等。你也可以通过这些命令来调整盟友关系!
/guild ally accept <公会名称>
权限: guilds.command.ally.accept
若当前有待处理的加盟请求,该命令将会通过申请公会成为盟友的请求!
/guild ally add <公会名称>
权限: guilds.command.ally.add
该命令允许你向其他公会发送结盟请求!
/guild ally decline <公会名称>
权限: guilds.command.ally.decline
该命令允许你婉拒其他公会发送的结盟邀请!
/guild ally list
权限: guilds.command.ally.list
该命令可列出你的公会的所有盟友!
/guild ally remove <公会名称>
权限: guilds.command.ally.remove
该命令可解除与特定公会的盟友关系!
竞技场命令
/guild arena set challenger <竞技场名称>
权限: guilds.command.admin
设置一个竞技场挑战方的传送点
/guild arena create <名称>
权限: guilds.command.admin
创建一个竞技场
/guild arena set defender <竞技场名称>
权限: guilds.command.admin
设置一个竞技场防守方的传送点
/guild arena delete <竞技场名称>
权限: guilds.command.admin
删除一个竞技场
/guild arena list
权限: guilds.command.admin
列出服务器上的所有竞技场
/guild arena tp <竞技场名称> <位置>
权限: guilds.command.admin
传送到竞技场地的指定一侧。(译者注:位置表示战争关系的位置,例如defend参数会将公会玩家传送到防守方的位置)
银行命令
本插件的特色之一即是允许各个公会,通过玩家之间的合作和努力屯起属于自己的小金库!
/guild bank balance
权限: guilds.command.bank.balance
浏览你的公会当前金库存款!
/guild bank deposit <数量>
权限: guilds.command.bank.deposit
从自己的账户中向银行存入游戏币!
/guild bank withdraw <数量>
权限: guilds.command.bank.withdraw
从公会金库中取出存款并将其转入自己的账户中!
属地命令
本插件的另一个特色就是允许公会拥有自己的属地!该部分内容联动了 WorldGuard 并允许玩家“认领”属地,供他们的成员使用。
/guild claim
权限: guilds.command.claim
在你身边创建公会属地!
/guild unclaim
权限: guilds.command.unclaim
取消占领当前的公会属地!
邀请码命令
编写维基时这部分内容还很新。我制作这个部分的原因是,我的一些朋友想要加入我的公会,而我却不知道他们的用户名。该部分命令允许你向好友发送请柬,同时有一/多次性选项可供设置。你可以将它发送给任何玩家,任何玩家也可以随时用这串邀请码加入你的公会!
/guild code create [使用次数]
权限: guilds.command.code.create
创建一个可被任何人使用的,邀请至你的公会的邀请码!
/guild code delete <邀请码>
权限: guilds.command.code.delete
删除一个已有的邀请码
/guild code info <邀请码>
权限: guilds.command.code.info
查询邀请码相关信息!
/guild code list
权限: guilds.command.code.list
列出所有已创建的邀请码!
/guild re d eem <邀请码>
权限: guilds.command.code.redeem
允许你使用邀请码!
控制台命令
这些是只有控制台才可以用的命令,通常这些重要的操作不应由玩家执行。
/guild console update-languages
权限: guilds.command.admin
更新本插件的语言文档
/guild console backup
权限: guilds.command.admin
备份本插件所有数据
/guild console migrate <源种类>
权限: guilds.command.admin
从一个数据库中迁移数据至另一个数据库
/guild console unclaim-all
权限: guilds.command.admin
删除本插件所有的属地数据
GUI 命令
/guild buff
权限: guilds.command.buff
打开公会效果 GUI.
/guild list
权限: guilds.command.list
打开公会列表 GUI.
/guild members
权限: guilds.command.members
打开成员列表 GUI.
/guild vault
权限: guilds.command.vault
打开公会金库 GUI.
/guild info
权限: guilds.command.info
打开公会信息 GUI.
家命令
权限: guilds.command.delhome
删除你的公会传送点.
/guild home
权限: guilds.command.home
传送至公会传送点.
/guild sethome
权限: guilds.command.sethome
将公会传送点设置在当前位置.
管理命令
/guild create <公会名称> [公会前缀]
权限: guilds.command.create
创建一个新公会!
/guild delete
权限: guilds.command.delete
删除你的公会.
/guild kick <玩家名称>
权限: guilds.command.boot
将玩家移出你的公会.
/guild prefix <公会前缀>
权限: guilds.command.prefix
为公会设置新前缀.
/guild rename <公会名称>
权限: guilds.command.rename
为公会设置新名称.
/guild status
权限: guilds.command.status
切换公会状态.
/guild transfer <玩家名称>
权限: guilds.command.transfer
将公会领袖的位置转交给他人.
/guild upgrade
权限: guilds.command.upgrade
升级公会等级.
成员命令
服务器 / 公会成员需要用到的命令
/guild accept <玩家名称>
权限: guilds.command.accept
接受一个当前加入公会的请求.
/guild check
权限: guilds.command.check
检查公会是否有待处理的请求.
/guild decline <玩家名称>
权限: guilds.command.decline
拒绝一个当前加入公会的请求.
/guild demote <玩家名称>
权限: guilds.command.demote
降级公会内的玩家.
/guild invite <玩家名称>
权限: guilds.command.invite
邀请玩家至你的公会.
/guild language <语言>
权限: guilds.command.language
修改当前语言!
/guild leave
权限: guilds.command.leave
离开你的公会.
/guild promote <玩家名称>
权限: guilds.command.promote
升级公会内的玩家.
标语命令
管理公会欢迎标语的命令。
/guild motd
权限: guilds.command.motd
显示当前公会的欢迎标语.
/guild motd set <标语名称>
权限: guilds.command.motd.modify
设置当前公会的欢迎标语.
/guild motd remove
权限: guilds.command.motd.modify
删除当前公会的欢迎标语.
杂项命令
一些杂碎且尚未分类的命令。
/guild chat
权限: guilds.command.chat
切换公会聊天.
/guild request <guild>
权限: guilds.command.request
向公会发送加入请求.
公会战命令
/guild war accept
权限: guilds.command.war.accept
接受战争邀请
/guild war challenge <guild>
权限: guilds.command.war.challenge
向其他公会发出挑战请求
/guild war deny
权限: guilds.command.war.deny
拒绝战争邀请
/guild war join
权限: guilds.command.war.join
加入战争
|
| Commands & Permissions | 命令与权限
Understanding how the commands work in the project is super simple. All you have to do is type /guilds and you will be presented with a very nice-looking help menu!
理解命令如何在本插件内运行是非常简单的。你要做的一切就是输入命令 /guilds ,然后你就会打开一个实用且美观的帮助界面!

用户组权限
To easily give a player / group access to all the correct commands, you can give the following permissions:
为了使玩家/用户组能够使用本插件特定的命令,你可以给予这些权限:
成员:guilds.group.member
管理员:guilds.group.admin
等价命令
Since Guilds is such a big project, we knew that it can get repetitive typing out full commands each time so we have made the follow aliases work so you don't have to type everything out each time. Use whichever you want! You can configure this in the config!
本插件的工程量非常巨大,记住命令对任何人来多都不是一件容易事。所以我们为玩家设计了等价命令用法,这样就可以省去玩家记住繁杂命令的事件了!任何地方都可以随你设置!当然也可以在配置文本里设置!
操作命令
Action commands control the user's choice to proceed with some of the commands in the plugin. We know that some people get curious when playing with commands and we've designed the commands that cause bigger changes to ask for a confirmation.
操作命令允许用户在必要时做出选择。我们知道有些人就是喜欢乱试命令,所以我们增加了一个确认功能,来防止那些好奇心旺盛的用户造成不可挽回的后果。
/guild cancel
Permission: guilds.command.cancel
If a user has an active action, it will cancel it and not proceed further with what they were trying to do.
/guild confirm
Permission: guilds.command.confirm
If a user has an active action, it will confirm the action and continue with what they were attempting to do.
/guild cancel
权限:guilds.command.cancel
如果用户有,那么使用该命令后可取消当前待执行的操作
/guild confirm
如果用户有,那么使用该命令后可确认当前待执行的操作
权限:guilds.command.confirm
管理员命令
Admin commands are basically self-understandable. They give you the power over how the plugin is used and can do many things to modify how the plugin works.
就连管理员命令也简单易懂。它们能够设置本插件的一些内容,也能展示插件的一些详细数据和信息。
/guild admin addplayer <player> <guild>
Permission: guilds.command.admin
Allows you to put a player into a guild by force.
/guild admin bank balance <guild>
Permission: guilds.command.admin
Admin command to view a guild's bank balance.
/guild admin bank deposit <guild> <amount>
Permission: guilds.command.admin
Admin command to put money into a guild's ban.
/guild admin bank withdraw <guild> <amount>
Permission: guilds.command.admin
Admin command to put money into a guild's ban.
/guild admin delhome <guild>
Permission: guilds.command.admin
Admin command to delete the home of a guild.
/guild admin give <player> <amount>
Permission: guilds.command.admin
Allows you to give upgrade tickets to players.
/guild admin home <guild>
Permission: guilds.command.admin
Admin command to teleport to the home of a guild.
/guild admin motd <guild>
Permission: guilds.command.admin
Allows you to view the MOTD of a guild.
/guild admin motd remove <guild>
Permission: guilds.command.admin
Allows you to remove the MOTD of a guild.
/guild admin motd set <guild> <motd>
Permission: guilds.command.admin
Allows you to set the MOTD of a guild
/guild admin prefix <guild> <prefix>
Permission: guilds.command.admin
Allows you to change the prefix of a guild by force.
/guild admin remove <guild>
Permission: guilds.command.admin
Allows you to remove a guild as a whole by force.
/guild admin removeplayer <player>
Permission: guilds.command.admin
Allows you to remove a player from their guild by force.
/guild admin rename <guild> <new name>
Permission: guilds.command.admin
Allows you change the current name of a guild by force.
/guild admin score resetall
Permission: guilds.command.admin
Allows you to reset the score of all guilds
/guild admin score setwins <guild> <amount>
Permission: guilds.command.admin
Allows you to set the wins of a guild
/guild admin score setloses <guild> <amount>
Permission: guilds.command.admin
Allows you to set the loses of a guild
/guild admin sethome
Permission: guilds.command.admin
Admin command to set the home of a guild.
/guild admin spy
Permission: guilds.chat.spy
Toggles the ability to see all guild chat.
/guild admin status <guild>
Permission: guilds.command.admin
Toggle the status of a guild by force.
/guild admin transfer <guild> <new master>
Permission: guilds.command.admin
Transfer a guild to another member by force
/guild admin upgrade <guild>
Permission: guilds.command.admin
Force upgrade a guild's tier.
/guild admin vault <guild>
Permission: guilds.command.admin
Open any guild's vault GUI
/guild reload
Permission: guilds.command.admin
Reloads the configuration files.
/guild admin addplayer <玩家名称> <公会名称>
权限: guilds.command.admin
强制将玩家加入公会.
/guild admin bank balance <公会名称>
权限: guilds.command.admin
查阅该公会的银行存款.
/guild admin bank deposit <公会名称> <数量>
权限: guilds.command.admin
将特定数量的钱存入银行.
/guild admin bank withdraw <公会名称> <数量>
权限: guilds.command.admin
将特定数量的钱取出银行.[注1]
/guild admin delhome <公会名称>
权限: guilds.command.admin
删除公会设置的家传送点.
/guild admin give <玩家名称> <数量>
权限: guilds.command.admin
给予玩家升级券.
/guild admin home <公会名称>
权限: guilds.command.admin
传送至公会设置的家传送点.
/guild admin motd <公会名称>
权限: guilds.command.admin
浏览公会欢迎标语.
/guild admin motd remove <公会名称>
权限: guilds.command.admin
删除公会欢迎标语.
/guild admin motd set <公会名称> <标题内容>
权限: guilds.command.admin
设置公会欢迎标语
/guild admin prefix <公会名称> <前缀>
权限: guilds.command.admin
强制更换公会前缀.
/guild admin remove <公会名称>
权限: guilds.command.admin
完全删除公会.
/guild admin removeplayer <玩家名称>
权限: guilds.command.admin
将玩家从公会中移出.
/guild admin rename <公会名称> <新公会名称>
权限: guilds.command.admin
强制修改公会名称.
/guild admin score resetall
权限: guilds.command.admin
强制重设公会所有战绩.
/guild admin score setwins <公会名称> <数量>
权限: guilds.command.admin
设置公会战斗胜利场数
/guild admin score setloses <公会名称> <数量>
权限: guilds.command.admin
设置公会战斗失败场数
/guild admin sethome
权限: guilds.command.admin
强制设置公会家传送点.
/guild admin spy
权限: guilds.chat.spy
切换所有公会聊天是否对自己可见.
/guild admin status <公会名称>
权限: guilds.command.admin
强制切换公会状态.
/guild admin transfer <公会名称> <新领袖名称>
权限: guilds.command.admin
强制转移公会领袖.
/guild admin upgrade <公会名称>
权限: guilds.command.admin
强制升级成员的公会等级.
/guild admin vault <公会名称>
权限: guilds.command.admin
打开公会的金库菜单
/guild reload
权限: guilds.command.admin
重载配置文件.
友军命令
The ally commands are a set of commands that let guild members control different actions such as listing their current allies or adding and removing them!
友军命令能够展示本公会的盟友相关信息,例如盟友的名称等。你也可以通过这些命令来调整盟友关系!
/guild ally accept <guild>
Permission: guilds.command.ally.accept
This command allows you to accept an ally invite from another guild if there is one currently pending!
/guild ally add <guild>
Permission: guilds.command.ally.add
This command allows you to send an ally request to another guild!
/guild ally decline <guild>
Permission: guilds.command.ally.decline
This command allows you to decline and incoming ally invite from another guild!
/guild ally list
Permission: guilds.command.ally.list
This command allows you to list all the allies of your guild!
/guild ally remove <guild>
Permission: guilds.command.ally.remove
This command allows you to remove any of your current allies!
/guild ally accept <公会名称>
权限: guilds.command.ally.accept
若当前有待处理的加盟请求,该命令将会通过申请公会成为盟友的请求!
/guild ally add <公会名称>
权限: guilds.command.ally.add
该命令允许你向其他公会发送结盟请求!
/guild ally decline <公会名称>
权限: guilds.command.ally.decline
该命令允许你婉拒其他公会发送的结盟邀请!
/guild ally list
权限: guilds.command.ally.list
该命令可列出你的公会的所有盟友!
/guild ally remove <公会名称>
权限: guilds.command.ally.remove
该命令可解除与特定公会的盟友关系!
竞技场命令
/guild arena set challenger <arena>
Permission: guilds.command.admin
Sets challenger side for an arena
/guild arena create <name>
Permission: guilds.command.admin
Create an arena
/guild arena set defender <arena>
Permission: guilds.command.admin
Sets defender side for an arena
/guild arena delete <arena>
Permission: guilds.command.admin
Delete an arena
/guild arena list
Permission: guilds.command.admin
Lists all arenas on the server
/guild arena tp <arena> <side>
Permission: guilds.command.admin
Teleport to specific side of an arena
/guild arena set challenger <竞技场名称>
权限: guilds.command.admin
设置一个竞技场挑战方的传送点
/guild arena create <名称>
权限: guilds.command.admin
创建一个竞技场
/guild arena set defender <竞技场名称>
权限: guilds.command.admin
设置一个竞技场防守方的传送点
/guild arena delete <竞技场名称>
权限: guilds.command.admin
删除一个竞技场
/guild arena list
权限: guilds.command.admin
列出服务器上的所有竞技场
/guild arena tp <竞技场名称> <位置>
权限: guilds.command.admin
传送到竞技场地的指定一侧。(译者注:位置表示战争关系的位置,例如defend参数会将公会玩家传送到防守方的位置)
银行命令
One of the cool features about this plugin is that it allows each guild to have a centralized bank that all players in a guild can work together to grow!
本插件的特色之一即是允许各个公会,通过玩家之间的合作和努力屯起属于自己的小金库!
/guild bank balance
Permission: guilds.command.bank.balance
Allows you to check the current balance of your guild bank!
/guild bank deposit <amount>
Permission: guilds.command.bank.deposit
Allows you to put money from your balance into your guild bank!
/guild bank withdraw <amount>
Permission: guilds.command.bank.withdraw
Allows you to take money from your guild bank and put it back into your personal balance!
/guild bank balance
权限: guilds.command.bank.balance
浏览你的公会当前金库存款!
/guild bank deposit <数量>
权限: guilds.command.bank.deposit
从自己的账户中向银行存入游戏币!
/guild bank withdraw <数量>
权限: guilds.command.bank.withdraw
从公会金库中取出存款并将其转入自己的账户中!
属地命令
Another cool feature of this plugin is the ability to make claims! This is ultilized through the WorldGuard Hook and allows players to "claim" land for their guild members to use.
本插件的另一个特色就是允许公会拥有自己的属地!该部分内容联动了 WorldGuard 并允许玩家“认领”属地,供他们的成员使用。
Another cool feature of this plugin is the ability to make claims! This is ultilized through the WorldGuard Hook and allows players to "claim" land for their guild members to use.
/guild claim
Permission: guilds.command.claim
Create a guild claim surrounding you!
/guild unclaim
Permission: guilds.command.unclaim
Get rid of your current guild claim!
/guild claim
权限: guilds.command.claim
在你身边创建公会属地!
/guild unclaim
权限: guilds.command.unclaim
取消占领当前的公会属地!
邀请码命令
This feature is actually a new one at the time of writing this wiki. The idea came to me when I realized I wanted to allow a group of my friends to join my guild but at the time I didn't know all their usernames. This feature allows you to create an invite code with the option of one-time-usage or multiple-uses and you can give it to anyone, then they can use that code to join the guild at any time!
编写维基时这部分内容还很新。我制作这个部分的原因是,我的一些朋友想要加入我的公会,而我却不知道他们的用户名。该部分命令允许你向好友发送请柬,同时有一/多次性选项可供设置。你可以将它发送给任何玩家,任何玩家也可以随时用这串邀请码加入你的公会!
/guild code create [uses]
Permission: guilds.command.code.create
Create an invite code for your guild that can be used by anyone!
/guild code delete <code>
Permission: guilds.command.code.delete
Remove an invite code from your guild
/guild code info <code>
Permission: guilds.command.code.info
Allows you to retrieve specific information about a guild code!
/guild code list
Permission: guilds.command.code.list
Allows you to list all your current guild codes!
/guild re d eem <code>
Permission: guilds.command.code.redeem
Allows you to redeem an invite code!
/guild code create [使用次数]
权限: guilds.command.code.create
创建一个可被任何人使用的,邀请至你的公会的邀请码!
/guild code delete <邀请码>
权限: guilds.command.code.delete
删除一个已有的邀请码
/guild code info <邀请码>
权限: guilds.command.code.info
查询邀请码相关信息!
/guild code list
权限: guilds.command.code.list
列出所有已创建的邀请码!
/guild re d eem <邀请码>
权限: guilds.command.code.redeem
允许你使用邀请码!
控制台命令
These are commands that are only to be ran from console because they do important operations that typical players shouldn't be doing.
这些是只有控制台才可以用的命令,通常这些重要的操作不应由玩家执行。
/guild console update-languages
Permission: guilds.command.admin
Update language files for the plugin
/guild console backup
Permission: guilds.command.admin
Create a backup of all plugin data
/guild console migrate <type>
Permission: guilds.command.admin
Migrate all the plugin data from one type of storage to another
/guild console unclaim-all
Permission: guilds.command.admin
Remove all claim data from the plugin
/guild console update-languages
权限: guilds.command.admin
更新本插件的语言文档
/guild console backup
权限: guilds.command.admin
备份本插件所有数据
/guild console migrate <源种类>
权限: guilds.command.admin
从一个数据库中迁移数据至另一个数据库
/guild console unclaim-all
权限: guilds.command.admin
删除本插件所有的属地数据
GUI 命令
/guild buff
Permission: guilds.command.buff
Opens the guild buff GUI.
/guild list
Permission: guilds.command.list
Opens the guild list GUI.
/guild members
Permission: guilds.command.members
Opens the member list GUI.
/guild vault
Permission: guilds.command.vault
Opens a guild vault GUI.
/guild info
Permission: guilds.command.info
Opens up the guild info GUI.
/guild buff
权限: guilds.command.buff
打开公会效果 GUI.
/guild list
权限: guilds.command.list
打开公会列表 GUI.
/guild members
权限: guilds.command.members
打开成员列表 GUI.
/guild vault
权限: guilds.command.vault
打开公会金库 GUI.
/guild info
权限: guilds.command.info
打开公会信息 GUI.
家命令
/guild delhome
Permission: guilds.command.delhome
Delete your guild home.
/guild home
Permission: guilds.command.home
Teleport to your guild home.
/guild sethome
Permission: guilds.command.sethome
Set your guild home to your current location.
权限: guilds.command.delhome
删除你的公会传送点.
/guild home
权限: guilds.command.home
传送至公会传送点.
/guild sethome
权限: guilds.command.sethome
将公会传送点设置在当前位置.
管理命令
/guild create <name> [prefix]
Permission: guilds.command.create
Create a new guild!
/guild delete
Permission: guilds.command.delete
Deletes your current guild.
/guild kick <player>
Permission: guilds.command.boot
Kicks a player from your guild.
/guild prefix <prefix>
Permission: guilds.command.prefix
Set a new prefix for your guild.
/guild rename <name>
Permission: guilds.command.rename
Set a new name for your guild.
/guild status
Permission: guilds.command.status
Toggles the status of your guild.
/guild transfer <player>
Permission: guilds.command.transfer
Transfer your guild to another person.
/guild upgrade
Permission: guilds.command.upgrade
Upgrade your guild's tier.
/guild create <公会名称> [公会前缀]
权限: guilds.command.create
创建一个新公会!
/guild delete
权限: guilds.command.delete
删除你的公会.
/guild kick <玩家名称>
权限: guilds.command.boot
将玩家移出你的公会.
/guild prefix <公会前缀>
权限: guilds.command.prefix
为公会设置新前缀.
/guild rename <公会名称>
权限: guilds.command.rename
为公会设置新名称.
/guild status
权限: guilds.command.status
切换公会状态.
/guild transfer <玩家名称>
权限: guilds.command.transfer
将公会领袖的位置转交给他人.
/guild upgrade
权限: guilds.command.upgrade
升级公会等级.
成员命令
Commands handled by members of the server / guild.
服务器 / 公会成员需要用到的命令
/guild accept <name>
Permission: guilds.command.accept
Accepted a guild invite from a guild.
/guild check
Permission: guilds.command.check
Checks to see if a user has any pending guild invites.
/guild decline <name>
Permission: guilds.command.decline
Declines a pending guild invite from a guild.
/guild demote <player>
Permission: guilds.command.demote
Demote a player in your guild.
/guild invite <player>
Permission: guilds.command.invite
Invite a player to your guild.
/guild language <language>
Permission: guilds.command.language
Set the plugin language to your choosing!
/guild leave
Permission: guilds.command.leave
Leave your current guild.
/guild promote <player>
Permission: guilds.command.promote
Promote a player in your guild.
/guild accept <玩家名称>
权限: guilds.command.accept
接受一个当前加入公会的请求.
/guild check
权限: guilds.command.check
检查公会是否有待处理的请求.
/guild decline <玩家名称>
权限: guilds.command.decline
拒绝一个当前加入公会的请求.
/guild demote <玩家名称>
权限: guilds.command.demote
降级公会内的玩家.
/guild invite <玩家名称>
权限: guilds.command.invite
邀请玩家至你的公会.
/guild language <语言>
权限: guilds.command.language
修改当前语言!
/guild leave
权限: guilds.command.leave
离开你的公会.
/guild promote <玩家名称>
权限: guilds.command.promote
升级公会内的玩家.
标语命令
Commands that manage a guild's MOTD.
管理公会欢迎标语的命令。
/guild motd
Permission: guilds.command.motd
View your guild's MOTD.
/guild motd set <motd>
Permission: guilds.command.motd.modify
Set the MOTD of your guild.
/guild motd remove
Permission: guilds.command.motd.modify
Remove the MOTD of your guild.
/guild motd
权限: guilds.command.motd
显示当前公会的欢迎标语.
/guild motd set <标语名称>
权限: guilds.command.motd.modify
设置当前公会的欢迎标语.
/guild motd remove
权限: guilds.command.motd.modify
删除当前公会的欢迎标语.
杂项命令
Random commands that haven't been categorized yet.
一些杂碎且尚未分类的命令。
/guild chat
Permission: guilds.command.chat
Toggles the guild chat.
/guild request <guild>
Permission: guilds.command.request
Send a request to join a guild.
/guild chat
权限: guilds.command.chat
切换公会聊天.
/guild request <guild>
权限: guilds.command.request
向公会发送加入请求.
公会战命令
/guild war accept
Permission: guilds.command.war.accept
Accept a war request
/guild war challenge <guild>
Permission: guilds.command.war.challenge
Challenge another guild to a war
/guild war deny
Permission: guilds.command.war.deny
Deny a war request
/guild war join
Permission: guilds.command.war.join
Join a guild war
/guild war accept
权限: guilds.command.war.accept
接受战争邀请
/guild war challenge <guild>
权限: guilds.command.war.challenge
向其他公会发出挑战请求
/guild war deny
权限: guilds.command.war.deny
拒绝战争邀请
/guild war join
权限: guilds.command.war.join
加入战争
本帖最后由 名副其实 于 2023-2-25 23:22 编辑
| Placeholders | 变量集群
本插件提供了多种形式的变量以支持不同的聊天插件。
例如 PlaceholderAPI, MVdWPlaceholderAPI, EssentialsXChat
注意:对于 MVdWPlaceholderAPI:请确保使用了插件的最新版本,我们只是从 PlaceholderAPI 一侧做了该插件的兼容。这意味着你安装该插件后仍需安装 PlaceholderAPI 才可继续使用。
EssentialsXChat 示例:复制代码
排行榜变量
普通变量
|
| Placeholders | 变量集群
Guilds provides placeholders in various forms to support different APIs.
PlaceholderAPI, MVdWPlaceholderAPI, and EssentialsXChat
Note: For MVdWPlaceholderAPI, in order to ensure they all stay up-to-date with each other, we just hook into regular PlaceholderAPI. This means that PlaceholderAPI is also required.
EssentialsX Example:
(Make sure you enabled the hook in the config and reboot for this to work)
本插件提供了多种形式的变量以支持不同的聊天插件。
例如 PlaceholderAPI, MVdWPlaceholderAPI, EssentialsXChat
注意:对于 MVdWPlaceholderAPI:请确保使用了插件的最新版本,我们只是从 PlaceholderAPI 一侧做了该插件的兼容。这意味着你安装该插件后仍需安装 PlaceholderAPI 才可继续使用。
EssentialsXChat 示例:
- format: '<{GUILD} {DISPLAYNAME}> {MESSAGE}'
排行榜变量
| 变量 | 描述 |
| %guilds_top_wins_name_#% | 胜利场数排在第 # 位的公会名称 |
| %guilds_top_wins_amount_#% | 胜利场数排在第 # 位的公会对应胜场数量 |
| %guilds_top_losses_name_#% | 失败场数排在第 # 位的公会名称 |
| %guilds_top_losses_amount_#% | 落败场数排在第 # 位的公会对应败场数量 |
| %guilds_top_wlr_name_#% | 胜率排在第 # 位的公会名称 |
| %guilds_top_wlr_amount_#% | 胜率排在第 # 位的公会对应胜率 |
普通变量
| PAPI 变量 | MVdWPAPI 变量 | EssXChat 变量 |
| %guilds_name% | {placeholderapi_guilds_name} | {GUILD} |
| %guilds_master% | {placeholderapi_guilds_master} | {GUILD_MASTER} |
| %guilds_member_count% | {placeholderapi_guilds_member_count} | {GUILD_MEMBER_COUNT} |
| %guilds_prefix% | {placeholderapi_guilds_prefix} | {GUILD_PREFIX} |
| %guilds_members_online% | {placeholderapi_guilds_member_online} | {GUILD_MEMBERS_ONLINE} |
| %guilds_status% | {placeholderapi_guilds_stats} | {GUILD_STATUS} |
| %guilds_role% | {placeholderapi_guilds_role} | {GUILD_ROLE} |
| %guilds_tier% | {placeholderapi_guilds_tier} | / |
| %guilds_balance% | {placeholderapi_guilds_balance} | / |
| %guilds_balance_raw% | / | / |
| %guilds_tier_name% | {placeholderapi_guilds_tier_name} | / |
| %guilds_role_node% | {placeholderapi_guilds_role_node} | / |
| %guilds_id% | {placeholderapi_guilds_id} | / |
| %guilds_code_amount% | {placeholderapi_guilds_code_amount} | / |
| %guilds_max_members% | {placeholderapi_guilds_max_members} | / |
| %guilds_max_balance% | {placeholderapi_guilds_max_balance} | / |
| %guilds_formatted% | {placeholderapi_guilds_formatted} | / |
| %guilds_challenge_wins% | {placeholderapi_guilds_challenge_wins} | / |
| %guilds_challenge_loses% | {placeholderapi_guilds_challenge_loses} | / |
| %guilds_motd% | {placeholderapi_guilds_motd} | / |
|
| Developer API | 开发者 API
构建工具相关
Maven
<repository>
<id>glares-repo</id>
<url>https://repo.glaremasters.me/repository/public/</url>
</repository>
<dependency>
<groupId>me.glaremasters</groupId>
<artifactId>guilds</artifactId>
<version>VERSION</version>
</dependency>
Gradle
repositories {
maven {
url = 'https://repo.glaremasters.me/repository/public/'
}
}
dependencies {
compileOnly 'me.glaremasters:guilds:VERSION'
}
Kotlin
repositories {
maven("https://repo.glaremasters.me/repository/public/")
}
dependencies {
compileOnly("me.glaremasters:guilds:versions")
}
API 对接
Obtaining the instance of the API is pretty simple by using the singleton that provides static access to the class. You can obtain the instance of the API through the main Guilds class.
获取API的实例非常简单,只需要使用提供对类的静态访问的实例即可。开发者在这之后就可以通过主 Guilds 类获取该 API 的实例。
- GuildsAPI api = Guilds.getApi();
API 调用
The API can be used for obtaining a bunch of information from the plugin. You can browse over the following section to see what all is provided.
API 可以用来收集本插件许多有用的信息。你可以在下面的事件里查阅你所需要的事件内容。
获取公会有关内容
We provide a few ways to obtain a Guild object, so feel free to use what is easiest for you.
我们提供了多种获取相关信息的方法,你可根据喜好随意使用。
OfflinePlayer
/**
*
* Get the guild of a player
* @param player the players you're getting the guild of
* @Return the guild that the player is in
*/
fun getGuild(player: OfflinePlayer): Guild? {
return guildHandler.getGuild(player)
}
Guild UUID
/**
* Get a guild by it's uuid
* @param uuid uuid of the guild
* @return the guild the uuid belong to
*/
fun getGuild(uuid: UUID): Guild? {
return guildHandler.getGuild(uuid)
}
Guild Name
/**
* Get a guild by it's name
* @param name the name of the guild
* @return the guild object
*/
fun getGuild(name: String): Guild? {
return guildHandler.getGuild(name)
}
Player UUID
/**
* Get a guild by a player's uuid
*
* @param uuid the uuid of the player
* @return the guild of the player or null
*/
fun getGuildByPlayerId(uuid: UUID): Guild? {
return guildHandler.getGuildByPlayerId(uuid)
}
Getting a GuildMember object
/**
* Get a guild member by their uuid
*
* @param uuid the uuid of the player
* @return the guild member instance or null
*/
fun getGuildMember(uuid: UUID): GuildMember? {
return guildHandler.getGuildMember(uuid)
}
Getting a Guild Vault
/**
* Get a copy of one of a guild's vaults
* @param guild the guild to get the vault of
* @param vaultNumber which vault to get
* @return guild vault
*/
fun getGuildVault(guild: Guild, vaultNumber: Int): Inventory {
return guildHandler.getGuildVault(guild, vaultNumber)
}
Getting a GuildRole
/**
* Get the role of a player
* @param player role
* @return the role of a player
*/
fun getGuildRole(player: Player): GuildRole? {
return getGuild(player)?.getMember(player.uniqueId)?.role
}
Getting the GuildHandler
/**
* Get a copy of the guild handler
* @return guild handler
*/
public GuildHandler getGuildHandler() {
return guildHandler;
}
自定义事件
In the plugin we offer a bunch of custom events that you can listen to and modify as you see fit.
本插件提供了一些可供你监听与修改的事件
Base GuildEvent
/**
* Base guild event
* @param player player in event
* @param guild guild in the event
*/
public GuildEvent(Player player, Guild guild) {
super(player);
this.guild = guild;
}
GuildAddAllyEvent
/**
* This event takes place when two guilds ally each other
* @param player player who accepted
* @param guild guild one
* @param ally guild two
*/
public GuildAddAllyEvent(Player player, Guild guild, Guild ally) {
super(player, guild);
this.ally = ally;
}
GuildBuffEvent
/**
* Called when a guild purchases a buff
* @param player the player purchasing the buff
* @param guild the guild the player is in
* @param buff the buff being purchased
*/
public GuildBuffEvent(Player player, Guild guild, GuildBuff buff) {
super(player, guild);
this.buff = buff;
}
GuildCreateEvent
/**
* Called when people create a guild
* @param player player creating the guild
* @param guild the guild being created
*/
public GuildCreateEvent(Player player, Guild guild) {
super(player, guild);
}
GuildDepositMoneyEvent
/**
* Base guild event
* @param player player in event
* @param guild guild in the event
* @param amount the amount to deposit
*/
public GuildDepositMoneyEvent(Player player, Guild guild, double amount) {
super(player, guild);
this.amount = amount;
}
GuildInviteEvent
/**
* Called when a player gets invited to a guild
* @param player the player inviting other to guild
* @param guild the guild player will be joining
* @param invitedPlayer the player being invited
*/
public GuildInviteEvent(Player player, Guild guild, Player invitedPlayer) {
super(player, guild);
this.invitedPlayer = invitedPlayer;
}
GuildJoinEvent
/**
* Called when a player joins a guild
* @param player the player joining a guild
* @param guild the guild the player will be joining
*/
public GuildJoinEvent(Player player, Guild guild) {
super(player, guild);
}
GuildLeaveEvent
/**
* Called a when a player leaves the guild
* @param player the player leaving the guild
* @param guild the guild the player was leaving
*/
public GuildLeaveEvent(Player player, Guild guild) {
super(player, guild);
}
GuildKickEvent
/**
* Called when a player is kicked from the guild
* @param player the player executing the event
* @param kicked the player being kicked from the guild
* @param cause the cause for being kicked
*/
class GuildKickEvent(player: Player, guild: Guild, val kicked: OfflinePlayer, val cause: Cause) : GuildEvent(player, guild) {
enum class Cause {
PLAYER_KICKED, ADMIN_KICKED
}
}
GuildPrefixEvent
private String prefix;
/**
* Base guild event
* @param player player in event
* @param guild guild in the event
* @param prefix
*/
public GuildPrefixEvent(Player player, Guild guild, String prefix) {
super(player, guild);
this.prefix = prefix;
}
public String getPrefix() {
return prefix;
}
GuildRemoveAllyEvent
/**
* Called when a guild removes an ally
* @param player the player calling the removal
* @param guild the guild calling the removal
* @param ally the guild being removed
*/
public GuildRemoveAllyEvent(Player player, Guild guild, Guild ally) {
super(player, guild);
this.ally = ally;
}
GuildRemoveEvent
private String name;
/**
* Called when a guild is removed
* @param player the player removing the guild
* @param guild the guild getting removed
* @param cause the reason for the guild being removed
*/
public GuildRemoveEvent(Player player, Guild guild, Cause cause) {
super(player, guild);
this.cause = cause;
}
public enum Cause {
MASTER_LEFT,
PLAYER_DELETED,
ADMIN_DELETED
}
GuildRenameEvent
/**
* @param player player in event
* @param guild guild in the event
*/
public GuildRenameEvent(Player player, Guild guild, String newName) {
super(player, guild);
this.name = newName;
}
public String getName() {
return name;
}
GuildSetHomeEvent
/**
* Called when a guild sets their home
* @param player the player setting the home
* @param guild the guild the player is in
* @param location the location the home is being set at
*/
public GuildSetHomeEvent(Player player, Guild guild, Location location) {
super(player, guild);
this.location = location;
}
GuildTransferEvent
private Player newMaster;
/**
* Base guild event
* @param player player in event
* @param guild guild in the event
* @param newMaster
*/
public GuildTransferEvent(Player player, Guild guild, Player newMaster) {
super(player, guild);
this.newMaster = newMaster;
}
public Player getNewMaster() {
return newMaster;
}
GuildWithdrawEvent
/**
* @param player player in event
* @param guild guild in the event
* @param amount the amount to withdraw
*/
public GuildWithdrawMoneyEvent(Player player, Guild guild, double amount) {
super(player, guild);
this.amount = amount;
}
GuildUpgradeEvent
/**
* Called when a guild upgrades their tier
* @param player the player upgrading the tier
* @param guild the guild the player is in
* @param tier the new guild tier for the guild
*/
public GuildUpgradeEvent(Player player, Guild guild, GuildTier tier) {
super(player, guild);
this.tier = tier;
}
GuildWarAcceptEvent
/**
* Called when a guild war has been accepted
* @param player the player that accepted the war challenge
* @param challenger the challenging guild for the war
* @param defender the defending guild for the war
*/
class GuildWarAcceptEvent(player: Player, val challenger: Guild, val defender: Guild) : GuildEvent(player, defender)
GuildWarChallengeEvent
/**
* Called when a guild war challenge has been sent from one guild to another
* @param player the player that sent the war challenge
* @param challenger the challenging guild for the war
* @param defender the defending guild for the war
*/
class GuildWarChallengeEvent(player: Player, val challenger: Guild, val defender: Guild) : GuildEvent(player, challenger)
GuildWarDeclineEvent
/**
* Called when a guild war has been declined
* @param player the player that declined the challenge
* @param challenger the challenging guild for the war
* @param defender the defending guild for the war
*/
class GuildWarDeclineEvent(player: Player, val challenger: Guild, val defender: Guild) : GuildEvent(player, defender)
GuildWarEndEvent
/**
* Called when a guild war has ended
* @param challenger the challenging guild for the war
* @param defender the defending guild for the war
* @param winner the winner of the guild war
*/
class GuildWarEndEvent(val challenger: Guild, val defender: Guild, val winner: Guild) : Event() {
override fun getHandlers(): HandlerList {
return handlerList
}
companion object {
val handlerList = HandlerList()
}
}
GuildWarStartEvent
/**
* Called when a guild war has started
* @param challenger the challenging guild for the war
* @param defender the defending guild for the war
*/
class GuildWarStartEvent(val challenger: Guild, val defender: Guild) : Event() {
override fun getHandlers(): HandlerList {
return handlerList
}
companion object {
val handlerList = HandlerList()
}
}
本帖最后由 名副其实 于 2023-2-28 22:50 编辑

| Description | 插件介绍
本插件被设计为允许玩家通过投票使服务器总票数达到一定数量后,领取到一份自定义物品的礼包,以此鼓励那些玩家更多地游玩你的服务器。本插件同时也包含了一个简单但有效的、包含概率机制的奖励系统。
插件特色
- 给投票的玩家回馈奖励
- 安装即用
- 促进玩家投入服务器活动
- 高度自定义
- 支持 PlaceholderAPI
- 支持 NuVotifier
依赖插件
- PlaceholderAPI
- (非必需)NuVotifier
翻译
在本插件中,我们会尽可能多地支持更多种类的语言,以此便利大部分玩家!我们现在只支持荷兰语、英语和法语。(译者注:不久支持简体中文。)如果你对一门语言熟悉且有意愿为本插件翻译的话,请加入我们的 Discord 群组服并让我们知道,我们会为你提供翻译工作的相关信息!
安装步骤
1. 关闭服务器;
2. 将本插件放入你服务器中的 plugins 文件夹中;
3. 下载 PlaceholderAPI;
4. 下载 NuVotifier(译者注:非必需插件);
5. 启动你的服务器;
6. 在 /plugins/VoteParty 文件夹下找到 config.yml 和 语言文件 并按照自己的喜好将它们修改;
7. 使用命令 /papi ecloud download Player 下载变量拓展 Player;
8. 检查命令与权限页面来更好地配置本插件;
9. 设置完成!享受它吧!
|

| Description | 插件介绍
VoteParty was designed to allow you to reward all online players with customizable rewards when your servers gets to a certain number of votes using VoteParty, encouraging your community to get involved. VoteParty contains a simple but very effective way to generate a random, but very customizable reward system based on chance.
本插件被设计为允许玩家通过投票使服务器总票数达到一定数量后,领取到一份自定义物品的礼包,以此鼓励那些玩家更多地游玩你的服务器。本插件同时也包含了一个简单但有效的、包含概率机制的奖励系统。
插件特色
Give players rewards for voting
Quick and easy to setup
Encourages community involvement
Highly customizable
PlaceholderAPI support
NuVotifier support
- 给投票的玩家回馈奖励
- 安装即用
- 促进玩家投入服务器活动
- 高度自定义
- 支持 PlaceholderAPI
- 支持 NuVotifier
依赖插件
- PlaceholderAPI
- (非必需)NuVotifier
翻译
In VoteParty, we strive to support as many languages we can in order to support more people! Currently we only support Dutch, English, and French. If you speak a language besides this fluently and are interested in translating, please join our discord and let us know and we can give you information on how to do that!
在本插件中,我们会尽可能多地支持更多种类的语言,以此便利大部分玩家!我们现在只支持荷兰语、英语和法语。(译者注:不久支持简体中文。)如果你对一门语言熟悉且有意愿为本插件翻译的话,请加入我们的 Discord 群组服并让我们知道,我们会为你提供翻译工作的相关信息!
安装步骤
Stop your server.
Put the VoteParty jar file that you downloaded into your plugins folder.
Download the PlaceholderAPI dependency.
Download the NuVotifier dependency.
Start your server.
Modify the config.yml and language files that were generated to fit your server's layout (Both found in /plugins/VoteParty/).
Download the PlaceholderAPI Player Expansion (/papi ecloud download Player)
Check the Commands & Permissions page to familiarize yourself with the plugin.
That's it! You're good to go!
1. 关闭服务器;
2. 将本插件放入你服务器中的 plugins 文件夹中;
3. 下载 PlaceholderAPI;
4. 下载 NuVotifier(译者注:非必需插件);
5. 启动你的服务器;
6. 在 /plugins/VoteParty 文件夹下找到 config.yml 和 语言文件 并按照自己的喜好将它们修改;
7. 使用命令 /papi ecloud download Player 下载变量拓展 Player;
8. 检查命令与权限页面来更好地配置本插件;
9. 设置完成!享受它吧!
本帖最后由 名副其实 于 2023-2-28 23:04 编辑
| Commands & Permissions | 命令与权限
玩家命令
管理员命令
权限列表
|
| Commands & Permissions | 命令与权限
玩家命令
| 命令 | 权限 | 描述 |
| /vp | / | 显示触发本插件活动的剩余投票数。 |
| /vp help | / | 显示本插件的帮助命令。 |
| /vp claim | voteparty.command.claim | 领取下线时获得的奖励。 |
管理员命令
| 命令 | 权限 | 描述 |
| /vp addvote <数量> | voteparty.command.admin | 向当前活动投入投票。 |
| /vp addvote <玩家> <是否静默> <数量> | voteparty.command.admin | 同上,但增加了一些额外选项。 |
| /vp givecrate <玩家> <数量> | voteparty.command.admin | 将投票回馈抽奖礼包给予玩家。 |
| /vp checkvotes <玩家> <数量> <时间段> | voteparty.command.admin | 查询玩家当前时间段内的投票数。 |
| /vp totalvotes <玩家> | voteparty.command.admin | 查询玩家当前总投票数。 |
| /vp resetvotes <玩家> | voteparty.command.admin | 重置玩家当前投入的投票。 |
| /vp setcounter <数量> | voteparty.command.admin | 设置投票计数器。 |
| /vp startparty | voteparty.command.admin | 强制触发本插件的活动事件。 |
| /vp giveparty <玩家> | voteparty.command.admin | 为特定玩家触发本插件的活动事件。 |
| /vp reload | voteparty.command.admin | 重载本插件。 |
权限列表
| 权限节点 | 描述 |
| voteparty.command.admin | 允许使用本插件的所有命令。 |
本帖最后由 名副其实 于 2023-3-1 22:47 编辑
| Placeholders | 变量集群
本插件提供了 PlaceholderAPI 的支持,所以你可以在任何支持该插件的地方引用这些变量。
反之亦然,你也可以在本插件内使用外部变量。(全变量集群链接)
若要给诸如 FeatherBoard 这样的插件使用,你需要把外面的百分号 %% 换成 花括号 {}。
(译者注:支持 MVdWPlaceholder 的插件才需要如此变动,否则不需要做任何改动。
作者曾在上一章中提起过,若要使用该类型的变量,仍然需要安装 PlaceholderAPI,否则无效。)
例如: {placeholerapi_voteparty_votes_recorded}
参数解释
种类 (Type):
在上文中指大写单词 TYPE 处应当填入的内容。通常有下列选项可供使用: daily(每日),weekly(每周),monthly(每月),annually(每年)以及 alltime(全时)。
信息(Info):
指上文中以大写英文 INFO 处需要填入的内容。此处填入的内容可以是 name(名称)或 votes(投票)。
排行:
对应变量中大写英文 PLACEMENT 填写的内容。填入整数。例如填入 1 则返回该值中排名第一的玩家,2 则返回排名第二的玩家。
示例变量:
%voteparty_top_alltime_name_1% - 返回全时投票排名第一的玩家名称。
%voteparty_top_monthly_name_1% - 返回当月投票排名第一的玩家名称。
变量下载
插件本身不需要下载任何变量拓展。插件会自行注册这些变量。
|
| Placeholders | 变量集群
VoteParty provides PlaceholderAPI placeholders that you can utilize inside any plugin that supports PlaceholderAPI.
You can also use any PlaceholderAPI placeholder inside of VoteParty. (PlaceholderAPI placeholders list)
本插件提供了 PlaceholderAPI 的支持,所以你可以在任何支持该插件的地方引用这些变量。
反之亦然,你也可以在本插件内使用外部变量。(全变量集群链接)
To utilize with plugins such as FeatherBoard, change the below placeholders from %% to {placeholderapi_<placeholder>}.
Example: {placeholderapi_voteparty_votes_recorded}
若要给诸如 FeatherBoard 这样的插件使用,你需要把外面的百分号 %% 换成 花括号 {}。
(译者注:支持 MVdWPlaceholder 的插件才需要如此变动,否则不需要做任何改动。
作者曾在上一章中提起过,若要使用该类型的变量,仍然需要安装 PlaceholderAPI,否则无效。)
例如: {placeholerapi_voteparty_votes_recorded}
| 变量 | 返回值 | 描述 |
| %voteparty_votes_recorded% | 文本 | 返回记录的总投票数。 |
| %voteparty_votes_required_party% | 文本 | 返回触发本插件事件所需的剩余投票数。 |
| %voteparty_votes_required_total% | 文本 | 返回触发本插件事件需要的总投票数。 |
| %voteparty_player_votes% | 文本 | 已弃用。 返回玩家的总投票数。 |
| %voteparty_votes_total% | 文本 | 返回所有玩家的投票数。 |
| %voteparty_top_TYPE_INFO_PLACEMENT% | 文本 | 根据输入内容返回排行榜中的结果。参见下文参数解释。 |
| %voteparty_placement_TYPE% | 文本 | 返回玩家在特定排行榜中的排名。 |
| %voteparty_totalvotes_TYPE% | 文本 | 返回玩家在特定时间段内的总投票数。 |
| %voteparty_totalparties_TYPE% | 文本 | 返回服务器在特定时间段内触发活动的总次数。 |
参数解释
Type
The type placeholder refers to the list of placeholders above that contain TYPE in them. The options for these are daily, weekly, monthly, annually and alltime.
种类 (Type):
在上文中指大写单词 TYPE 处应当填入的内容。通常有下列选项可供使用: daily(每日),weekly(每周),monthly(每月),annually(每年)以及 alltime(全时)。
Info
The info placeholder refers to the list of placeholders above that contain INFO in them. The options for these can be name or votes.
信息(Info):
指上文中以大写英文 INFO 处需要填入的内容。此处填入的内容可以是 name(名称)或 votes(投票)。
The placement is just the placement of the player in the leaderboard, so like 1 would return the top voter, 2 would return the 2nd top voter, etc.
排行:
对应变量中大写英文 PLACEMENT 填写的内容。填入整数。例如填入 1 则返回该值中排名第一的玩家,2 则返回排名第二的玩家。
Example Placeholders:
%voteparty_top_alltime_name_1% - Returns the name of the top voter of all time
%voteparty_top_monthly_name_1% - Returns the name of the top voter in the past month
示例变量:
%voteparty_top_alltime_name_1% - 返回全时投票排名第一的玩家名称。
%voteparty_top_monthly_name_1% - 返回当月投票排名第一的玩家名称。
变量下载
There is no download required anymore to utilize the VoteParty placeholders. It is all built into the plugin.
插件本身不需要下载任何变量拓展。插件会自行注册这些变量。
本帖最后由 名副其实 于 2023-3-1 22:49 编辑
| Configruations | 配置文本
config.yml复制代码
|
| Configruations | 配置文本
config.yml
- # VoteParty
- # Creator: Clip & Glare
- # Contributors: https://github.com/VoteParty/VoteParty/graphs/contributors
- # Issues: https://github.com/VoteParty/VoteParty/issues
- # Spigot: https://www.spigotmc.org/resources/987/
- # Wiki: https://wiki.helpch.at/glares-plugins/voteparty
- # Discord: https://helpch.at/discord
- settings:
- # The default language of the plugin
- language: en-US
- # The prefix of all the messages in the plugin
- prefix: '&d&lVote&5&lParty &7&l» '
- counter:
- # How often to save the current amount of votes (in seconds)
- save-interval: 300
- data:
- # How often do we want to save the player data (in seconds)
- save-interval: 300
- # Do you want to save a player's data instantly on vote? This will happen along with the interval saving above.
- # Some servers just prefer to save instantly to ensure all the data is there.
- save-on-vote: false
- # Would you like to enable Brigadier command support? (I think it does more than just pretty colors) 1.13+
- brigadier: false
- # The hook part of the config allows you to configure which plugins you would like to hook into for votes.
- # By default, the plugin will utilize NuVotifier and listen for it's vote events.
- # If you would like to use the plugin without NuVotifier, just disable the hook!
- # NOTE: Keep in mind that without being hooked into a vote plugin, the plugin will not automatically handle votes.
- # You will be required to do everything manually.
- # Over time, more plugins may become supported!
- hooks:
- # Would you like to listen to NuVotifier for incoming votes?
- nuvotifier: true
- crate:
- enabled: true
- lore:
- - ''
- - '&7Place the chest in order to'
- - '&7to receive rewards!'
- - ''
- material: CHEST
- name: '&d&lVote&5&lParty &f&lCrate'
- # Configuration for particle effects you can play
- # throughout different parts of the plugin
- effects:
- # Configuration for particles when party commands are being executed
- party_commands_execute:
- enable: true
- effects:
- - SMOKE_NORMAL
- - HEART
- offsetX: 0.0
- offsetY: 0.0
- offsetZ: 0.0
- speed: 0.1
- count: 2
- # Configuration for particles when a party starts
- party_start:
- enable: true
- effects:
- - SMOKE_NORMAL
- - HEART
- offsetX: 0.0
- offsetY: 0.0
- offsetZ: 0.0
- speed: 0.1
- count: 2
- # Configuration for particles when a player votes
- vote:
- enable: true
- effects:
- - SMOKE_NORMAL
- - HEART
- offsetX: 0.0
- offsetY: 0.0
- offsetZ: 0.0
- speed: 0.1
- count: 2
- party:
- # The amount of votes needed for a party to occur
- votes_needed: 50
- # Would you like to use a crate for the rewards?
- use_crate: false
- # The list of worlds where party rewards won't be given
- disabled_worlds:
- - ''
- # Choose to allow offline votes count towards the party
- offline_votes: true
- # There are 3 different ways that a party can work.
- # 1) "everyone" - everyone can join the party whether they voted or not
- # 2) "daily" - everyone who voted in the past 24 hours can join the party
- # 3) "party" - everyone who voted in this specific party can join the party
- # Set the mode below to one of the options above to specify how the party should function
- party_mode: everyone
- # The amount of time (in seconds) the server will wait to start the party after the amount needed has been achieved
- start_delay: 15
- # The amount of time (in seconds) the server will wait between executing reward commands
- command_delay: 1
- # Configuration for chance rewards to be given during a party.
- # Add as many commands as you want, set their chance, and choose the max amount a player can earn!
- reward_commands:
- enabled: true
- max_possible: 1
- commands:
- - chance: 50.0
- command:
- - eco give %player_name% 100
- - chance: 50.0
- command:
- - give %player_name% DIAMOND 6
- - chance: 50.0
- command:
- - give %player_name% IRON_INGOT 12
- # Configuration for extra commands to be executed on players who have specific permission nodes when a party happens
- permission-rewards:
- enabled: true
- permCommands:
- - permission: my.special.permission
- commands:
- - eco give %player_name% 500
- # A list of rewards that will ALWAYS be given to a player during a party
- guaranteed_rewards:
- enabled: true
- commands:
- - eco give %player_name% 10
- - give %player_name% STEAK 8
- # Commands to be executed before a party is started
- pre_party_commands:
- enabled: true
- commands:
- - broadcast Party will start soon!
- # Commands to be executed when a party has started
- party_commands:
- enabled: true
- commands:
- - broadcast A Vote Party has started!
- voting:
- # If a player's inventory is full when voting, do you want to send the vote to a /vote claim?
- claim_if_full: true
- # Configuration for chance rewards to be given for voting.
- # Add as many commands as you want, set their chance, and choose the max amount a player can earn!
- per_vote_rewards:
- enabled: true
- max_possible: 1
- commands:
- - chance: 50.0
- command:
- - eco give %player_name% 100
- - chance: 70.0
- command:
- - give %player_name% STEAK 10
- # Configuration for extra commands to be executed on players who have specific permission nodes
- permission-rewards:
- enabled: true
- permCommands:
- - permission: my.special.permission
- commands:
- - eco give %player_name% 500
- # A list of rewards that will ALWAYS be given to a player for voting
- guaranteed_rewards:
- enabled: true
- commands:
- - eco give %player_name% 10
- - give %player_name% STEAK 8
- # A list of commands to run when it's the first time a player has voted (only works for online players)
- first_time_rewards:
- enabled: false
- commands:
- - eco give %player_name% 100
- - give %player_name% STEAK 10
- # Configuration for extra commands to be executed on players who voted on a specific website (only works for online players)
- # Known Service Names:
- # TopG.com
- # PlanetMinecraft.com
- # Minecraft-MP.com
- # MinecraftServers.org
- # Minecraft-Server.net
- votesite-rewards:
- enabled: false
- votesiteCommands:
- - serviceName: TestVote
- commands:
- - eco give %player_name% 500
- # Global commands (such as a broadcast message) to be executed when a player votes
- global_commands:
- enabled: true
- commands:
- - broadcast %player_name% just voted! Only %voteparty_votes_required_party% more votes
- until a VoteParty!
- offline_vote_claiming:
- # Would you like players to be able to claim rewards for offline votes?
- # Note: They will only be able to get credit for rewards if you have `offline_votes` enabled
- enabled: false
- # Would you like to notify the player when they login that they have votes to claim?
- notify: false
- # Configuration for extra commands to be executed on players who have voted a specific amount of times in the past day, week, month, year, and all time.
- cumulative-rewards:
- daily:
- enabled: false
- entries:
- - votes: 5
- commands:
- - give %player_name% STEAK 10
- weekly:
- enabled: false
- entries:
- - votes: 5
- commands:
- - give %player_name% STEAK 10
- monthly:
- enabled: false
- entries:
- - votes: 5
- commands:
- - give %player_name% STEAK 10
- yearly:
- enabled: false
- entries:
- - votes: 5
- commands:
- - give %player_name% STEAK 10
- total:
- enabled: false
- entries:
- - votes: 5
- commands:
- - give %player_name% STEAK 10
|
| API | 开发者 API
自定义事件
Inside of VoteParty, we offer a custom event that is listened to inside the plugin to give out rewards. This allows plugins to hook into it and also give extra rewards or modify to what they see fit.
在本插件内,我们提供了一些监听插件的自定义事件以让开发者给予玩家奖励。这允许别的插件和它联动,并且我们也有了一些额外的思路来给予玩家奖励。
VoteReceivedEvent
/**
* This event takes place when a hooked plugin receives a vote
* @param player The player that voted
*/
public VoteReceivedEvent(OfflinePlayer player Vote vote) {
this.player = player;
this.vote = vote;
}
PrePartyEvent
/**
* This event takes place when a party is preparing to start
*/
public PrePartyEvent() {
}
PartyStartEvent
/**
* This event takes place when a party is starting
*/
public PartyStartEvent() {
}
PartyEndEvent
/**
* This event takes place when a party is finished
*/
public PartyEndEvent() {
}