DMRP - Minecraft 角色扮演插件
简介
DMRP 是一款旨在增强服务器角色扮演体验的 Minecraft 插件。它引入了新的命令和机制,可用于创建沉浸式的角色扮演场景。该插件兼容运行 Spigot 或 Bukkit 的 Minecraft 服务器。
功能
- 玩家束缚:允许玩家使用牵引绳互相束缚。
- 背包锁定:允许锁定和解锁玩家的背包,防止他们通过链条移动物品。
- 骰子命令:允许玩家投掷指定面数的骰子。玩家可以同时投掷单个或多个骰子。
- 尝试命令:给予玩家在指定行动中成功的自定义概率。这可用于各种角色扮演场景。
- 抛硬币命令:模拟抛硬币,有 50/50 的概率正面或反面朝上。
- 重载命令:重新加载插件的配置文件,使更改生效而无需重启服务器。
- 支持 PlaceholderAPI:如果已安装,DMRP 可以使用占位符进一步自定义消息。
- 支持 MiniMessages:DMRP 可以使用 MiniMessages 格式进一步自定义消息。
- 自定义占位符:引入新的自定义占位符,允许服务器管理员动态显示插件特定的数据,例如玩家状态。
- 自动更新:自动检查插件更新。
查看命令展示:
安装
- 从 Modrinth 或 GitHub 仓库 下载 DMRP 的最新版本。
- 从 Modrinth 或其他来源下载 PacketEvents 的最新版本。
- 将下载的
.jar文件放入服务器的plugins目录中。 - 重启服务器以加载插件。
配置
DMRP 使用两个配置文件:config.yaml 和 language.yaml。这些文件位于插件目录下的 plugins/DMRP/ 中。
config.yaml:包含设置,如最大骰子面数和束缚距离。language.yaml:包含插件使用的消息,可根据您的服务器主题进行自定义。
命令
- /rp-reload:重新加载插件的配置文件。
- /try {要尝试的内容}:以配置的成功率尝试指定的行动。
- /dice {数量} {面数}:投掷指定数量和面数的骰子。
- /coinflip:模拟抛硬币,成功率为 50/50。
- /lockinv {玩家}:锁定或解锁指定玩家的背包。
- /leash {玩家}:束缚/解除对玩家的束缚。
自定义占位符
DMRP 引入了自定义占位符,允许服务器管理员动态显示插件特定的数据。这些占位符可以与 PlaceholderAPI 配合使用,以增强角色扮演体验。以下是每个占位符的描述:
-
%dmrp_leashed%:显示玩家当前是否被束缚。
- 根据玩家的束缚状态返回可自定义的消息:
- 如果玩家被束缚:显示
language.yaml文件中placeholder.leash.leashed定义的消息。 - 如果玩家未被束缚:显示
language.yaml文件中placeholder.leash.not_leashed定义的消息。
- 如果玩家被束缚:显示
- 根据玩家的束缚状态返回可自定义的消息:
-
%dmrp_lockinv%:显示玩家的背包是否被锁定。
- 根据玩家背包的锁定状态返回可自定义的消息:
- 如果玩家背包被锁定:显示
language.yaml文件中placeholder.lockinv.locked定义的消息。 - 如果玩家背包未锁定:显示
language.yaml文件中placeholder.lockinv.unlocked定义的消息。
- 如果玩家背包被锁定:显示
- 根据玩家背包的锁定状态返回可自定义的消息:
这些占位符可以在 language.yaml 文件中进行自定义,以符合您的服务器主题并增强沉浸感。
权限
DMRP 使用权限系统来控制对其命令的访问。默认情况下,所有命令(除 /rp-reload 外)均对所有用户受限。您可以在服务器的 permissions.yml 文件中自定义这些权限。
权限节点
-
dmrp.command.*:授予所有 DMRP 命令的访问权限。 -
dmrp.command.reload:访问权限以重载插件配置。 -
dmrp.command.try:访问/try命令的权限。 -
dmrp.command.dice:访问/dice命令的权限。 -
dmrp.command.coinflip:访问/coinflip命令的权限。 -
dmrp.command.lockinv:访问/lockinv命令的权限。 -
dmrp.command.leash:访问/leash命令的权限。 -
dmrp.leash.use:允许玩家束缚他人。 -
dmrp.leash.can:允许玩家被束缚。 -
dmrp.leash.admin:授予解除您不拥有的玩家束缚的权限。 -
dmrp.lock.use:授予锁定玩家背包的权限。 -
dmrp.lock.can:允许玩家被锁定背包。 -
dmrp.lock.admin:授予解锁您不拥有的背包的权限。
支持
如果遇到任何问题或有改进建议,请在 GitHub 仓库 上提交 Issue。
贡献
欢迎为 DMRP 做出贡献!如果您希望参与贡献,请 Fork 该仓库,进行修改后提交 Pull Request。
许可证
DMRP 采用 BSD-3 许可证授权。更多详细信息请参阅 LICENSE.md 文件。
DMRP - Role Play Plugin for Minecraft
Introduction
DMRP is a Minecraft plugin designed to enhance role-playing experiences on your server. It introduces new commands and mechanics that can be used to create immersive role-playing scenarios. This plugin is compatible with Minecraft servers running Spigot or Bukkit.
Features
- Player Leash: Allow players to leash each other using a leash.
- Inventory Lock: Allows locking and unlocking of player inventories, preventing them from moving items using a chain.
- Dice Command: Allows players to throw dice with a specified number of sides. Players can throw a single die or multiple dice at once.
- Try Command: Gives players a customizable chance to succeed in a specified action. This can be used for various role-playing scenarios.
- Coin flip Command: Simulates a coin flip with a 50/50 chance of landing on heads or tails.
- Reload Command: Reloads the plugin's configuration files, allowing changes to take effect without restarting the server.
- Support for PlaceholderAPI: If installed, DMRP can use placeholders to customize messages further.
- Support for MiniMassages: DMRP can use MiniMassages format to customize messages further.
- Custom Placeholders: Introduces new custom placeholders that allow server administrators to dynamically display plugin-specific data, such as player state.
- Auto Update: Automatically checks for plugin updates.
See command showcase on:
Installation
- Download the latest version of DMRP from the Modrinth or GitHub repository.
- Download the latest version of PacketEvents from the Modrinth or other source
- Place the downloaded
.jarfile into your server'spluginsdirectory. - Restart your server to load the plugin.
Configuration
DMRP uses two configuration files: config.yaml and language.yaml. These files are located in the plugin's directory under plugins/DMRP/.
config.yaml: Contains settings such as the maximum dice sides, and leash distance.language.yaml: Contains messages used by the plugin, which can be customized to fit your server's theme.
Commands
- /rp-reload: Reloads the plugin's configuration files.
- /try {what to try}: Attempts a specified action with a configured chance of success.
- /dice {amount} {sides}: Throws a specified number of dice with a specified number of sides.
- /coinflip: Simulates a coin flip with a 50/50 chance.
- /lockinv {player}: Locks or unlocks the inventory of a specified player.
- /leash {player}: Leashes/unleashes a player.
Custom Placeholders
DMRP introduces custom placeholders that allow server administrators to dynamically display plugin-specific data. These placeholders can be used with PlaceholderAPI to enhance the role-playing experience. Below is a description of each placeholder:
-
%dmrp_leashed%: Displays whether a player is currently leashed.
- Returns a customizable message based on the player's leash status:
- If the player is leashed: Displays the message defined in
placeholder.leash.leashedin thelanguage.yamlfile. - If the player is not leashed: Displays the message defined in
placeholder.leash.not_leashed.
- If the player is leashed: Displays the message defined in
- Returns a customizable message based on the player's leash status:
-
%dmrp_lockinv%: Displays whether a player's inventory is locked.
- Returns a customizable message based on the player's inventory lock status:
- If the player's inventory is locked: Displays the message defined in
placeholder.lockinv.lockedin thelanguage.yamlfile. - If the player's inventory is unlocked: Displays the message defined in
placeholder.lockinv.unlocked.
- If the player's inventory is locked: Displays the message defined in
- Returns a customizable message based on the player's inventory lock status:
These placeholders can be customized in the language.yaml file to fit your server's theme and enhance immersion.
Permissions
DMRP uses a permission system to control access to its commands. By default, all commands (except /rp-reload) are restricted to all users. You can customize these permissions in your server's permissions.yml file.
Permission Nodes
-
dmrp.command.*: Gives access to all DMRP commands. -
dmrp.command.reload: Access to reload the plugin configuration. -
dmrp.command.try: Access to the/trycommand. -
dmrp.command.dice: Access to the/dicecommand. -
dmrp.command.coinflip: Access to the/coinflipcommand. -
dmrp.command.lockinv: Access to the/lockinvcommand. -
dmrp.command.leash: Access to the/leashcommand. -
dmrp.leash.use: Allows players to leash others. -
dmrp.leash.can: Allows players to be leashed. -
dmrp.leash.admin: Gives access to unleash players that you don't own. -
dmrp.lock.use: Gives access to lock players inventories. -
dmrp.lock.can: Allows players to be inventory locked. -
dmrp.lock.admin: Gives access to unlock inventories that you don't own.
Support
If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.
Contributing
Contributions to DMRP are welcome! If you'd like to contribute, please fork the repository, make your changes, and submit a pull request.
License
DMRP is licensed under the BSD-3 License. See the LICENSE.md file for more details.
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DMRP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新内容:
- 优化玩家查找功能。
- 新增配置系统。
- 增加对更多 Minecraft 版本的支持。
完整更新日志:
新增内容:
- 添加设置以更改激活物品的名称
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧