DonutCore

插件

· 作者 Jqhxnn

你的服务器必备的最甜核心插件!

0 本站下载 0 关注 更新于 3 个月前

最新 1.0.4 · 26.2 · Paper

一键开服(送7天)

DonutCore Logo DonutCore 是一款适用于 1.21.4-26.1.2 的免费核心插件,具备许多实用功能:

  • 计分板(支持 PlaceholderAPI)
  • Tab 列表(支持 PlaceholderAPI)
  • 游戏模式管理(/gmc、/gm 等)
  • 家园系统(/home、/homes、/sethome 和 /delhome)
  • 聊天表情符号(例如将 [yay] 替换为 (╯°□°)╯)
  • IP 命令以获取用户的 IP
  • Ping 命令以获取用户的延迟
  • ServerLinks 集成
  • 自定义命令
  • 加入/离开消息
  • 成就消息
  • 更多功能即将推出!

插件中的所有设置均可自定义,包括权限。

命令与用法:

  • /donutcore help - 显示帮助信息
  • /donutcore reload - 重新加载配置
  • /ip [Player] - 获取玩家的 IP
  • /ping [Player] - 查看自己或他人的延迟
  • /gmc [Player] - 将玩家的游戏模式设置为创造模式
  • /gmsp [Player] - 将玩家的游戏模式设置为旁观者模式
  • /gms [Player] - 将玩家的游戏模式设置为生存模式
  • /gma [Player] - 将玩家的游戏模式设置为冒险模式
  • /gm <0/1/2/3|s/c/a/sp> [Player] - 设置玩家的游戏模式

Configuration

# DonutCore Configuration
# by Donut4GAMER
# thanks for downloading the plugin <3

# here you can configure the gamemode command form DonutCore
gamemode:
  # configure the permissions for the /gm, /gmc, ... commands
  permissions:
    # the permission users need to use the gamemode commands
    gamemode-self: "donutcore.gamemode.self"
    # the permission users need to set other players gamemode
    gamemode-others: "donutcore.gamemode.others"

  # configure the messages for the /gm, /gmc, ... commands
  # use the placeholders %gamemode%, %target% and %player%
  # MiniMessage support
  messages:
    # message that appears when you execute the command as the console
    no-player: "&6DonutCore &8| &cOnly players can execute this."
    # message that appears when you do not have the permission you have set above
    no-permission: "&6DonutCore &8| &cYou do not have the permission to do that."
    # message that appears when you just type /gm, for example
    usage: "&6DonutCore &8| &cUsage: /gm <0/1/2/3|s/c/a/sp> [Player]"
    # message that appears when you do not write a valid gamemode
    invalid-gamemode: "&6DonutCore &8| &cThis gamemode does not exist."
    # message that appears when you type a username from an offline/not existing user
    player-not-found: "&6DonutCore &8| &cPlayer not found."
    # message that appears when you have changed your gamemode
    self-change: "&6DonutCore &8| &7Your gamemode has been changed to &6%gamemode%&7."
    # message that appears when you have set another users gamemode
    other-change-sender: "&6DonutCore &8| &7You have set &6%target%&7's gamemode to &6%gamemode%&7."
    # message that appears when someone set your gamemode
    other-change-target: "&6DonutCore &8| &7Your gamemode was set to &6%gamemode%&7 by &6%player%&7."

# here you can configure the chat feature from DonutCore
chat:
  # configure the text you can type that will be replaced with an emoji or something else
  # MiniMessage support
  replacements:
    "[o/]": "§e§lヾ(^∇^)"
    "[yay]": "§b§l(╯°□°)╯"
    "[lol]": "§d§l(≧▽≦)"
    "[what]": "§c§l(⊙_☉)"
    "[omg]": "§6§lΣ(°ロ°)"
    "[rip]": "§8§l(✖╭╮✖)"
    "[shrug]": "§7¯\\_(ツ)_/¯"
    "[rage]": "§4§l(ノಠ益ಠ)ノ彡┻━┻"
    "bad word": "good word"

# here you can configure the tablist feature from DonutCore
tablist:
  # do you want to enable the DonutCore Tablist?
  enabled: true
  # after how many ticks should the Tablist update? (100 Ticks=5 Seconds)
  update-interval: 100
  # set the Header and Footer of the Tablist
  # PlaceholderAPI & MiniMessage support
  header:
    - "&r"
    - "&7Welcome on our Server"
    - "&7User: &6%player_name%"
    - "&r"
  footer:
    - "&r"
    - "<rainbow>Thanks for Downloading</rainbow>"
    - "&7Discord: &6https://discord.gg/Yarpy8tAqJ"
    - "&r"

# here you can configure the scoreboard feature from DonutCore
scoreboard:
  # do you want to enable the DonutCore Scoreboard?
  enabled: true
  # after how many ticks should the Tablist update? (100 Ticks=5 Seconds)
  update-interval: 100
  # set the title of the Scoreboard
  title: "&6&lDonut&f&lCore"
  # set the Scoreboard lines (every line needs to be unique!!!)
  # PlaceholderAPI support
  lines:
    - "&r&8&m----------------"
    - "&7Name: &6%player_name%"
    - "&7Ping: &6%player_ping%ms"
    - "&r"
    - "&7Discord:"
    - "&6discord.gg/Yarpy8tAqJ"
    - "&8&m----------------"

# here you can configure the ip command from DonutCore
ip:
  # configure the permissions for the /ip command
  permissions:
    # the permission users need to execute his command
    view: "donutcore.ip.view"

  # configure the messages for the /ip command
  # use the placeholders %target% and %ip%
  # MiniMessage support
  messages:
    # message that appears when you execute the command as the console
    no-player: "&6DonutCore &8| &cOnly players can execute this."
    # message that appears when you do not have the permission you have set above
    no-permission: "&6DonutCore &8| &cYou do not have the permission to do that."
    # message that appears when you just type /ip, for example
    usage: "&6DonutCore &8| &cUsage: /ip <player>"
    # message that apears when you have executed the command and the player is offline
    player-not-found: "&6DonutCore &8| &7The Player &6%target% &7is not online!"
    # message that apears when you have executed the command and the player is online
    show-ip: "&6DonutCore &8| &7The IP from &6%target% &7is: &6%ip%"

在这里你可以配置 DonutCore 的 ping 命令

ping:

配置 /ping 命令的权限

permissions: # 用户查询自己延迟所需的权限 self: "donutcore.ping.self" # 用户查询其他玩家延迟所需的权限 others: "donutcore.ping.others"

配置 /ping 命令的消息

使用占位符 %target% 和 %ping%

支持 MiniMessage

messages: # 当控制台执行此命令时显示的消息 no-player: "&6DonutCore &8| &c只有玩家才能执行此命令。" # 当你没有上述设置的权限时显示的消息 no-permission: "&6DonutCore &8| &c你没有执行此操作的权限。" # 当你仅输入 /ping 时显示的消息,例如 usage: "&6DonutCore &8| &c用法: /ping <player>" # 当你执行命令但目标玩家不在线时显示的消息 player-not-found: "&6DonutCore &8| &c玩家 &6%target% &c不在线!" # 当你执行命令并获取到自己延迟时显示的消息 self-ping: "&6DonutCore &8| &7你的延迟为: &6%ping%ms" # 当你执行命令并获取到其他玩家延迟时显示的消息 other-ping-sender: "&6DonutCore &8| &7玩家 &6%target% &7的延迟为: &6%ping%ms"

在这里你可以配置 DonutCore 的加入事件

join:

留空则禁用

支持 MiniMessage

message: "<gold>DonutCore <dark_gray>| <gold>%player% <gray>已加入服务器。"

在这里可以配置 DonutCore 的离开事件

leave:

留空则禁用

支持 MiniMessage

message: "<gold>DonutCore <dark_gray>| <gold>%player% <gray>已离开服务器。"

在这里可以配置 DonutCore 的成就消息

achievements:

是否启用 DonutCore 成就消息?

enabled: true

占位符:%player%, %advancement%

支持 MiniMessage

message: '<gold>DonutCore <dark_gray>| <gold>%player% <gray>获得了成就 <gold>[%advancement%]</gold>'

在这里可以配置 DonutCore 的服务器链接功能

serverlinks:

是否启用 DonutCore 服务器链接功能?

enabled: true

在此设置链接

links: # 链接名称(游戏中不显示) website: # 游戏中显示的名称 # 支持 MiniMessage name: "<rainbow>网站</rainbow>" # 重定向到的链接 link: " discord: name: "<#7289da>Discord" link: " store: name: "<green>商店</green>" link: "

在这里可以配置来自 DonutCore 的自定义命令功能

customcommands:

是否启用 DonutCore 自定义命令功能?

enabled: true

设置命令

commands: # 命令名称 discord: # 命令别名 alias: - dc # 执行该命令时显示的消息 # 支持 MiniMessage message: - "<gray>查看我们的 <#7289da>Discord<gray>!" - "<gold> website: alias: - web message: - "<gray>查看我们的 <rainbow>网站</rainbow><gray>!" - "<gold>

home:

是否启用 DonutCore 的家功能?

enabled: true

如果玩家没有家数量限制权限,他们最多可以拥有的家数量。

家的数量限制权限:

donutcore.home.2 -> 玩家最多可以拥有 2 个家

donutcore.home.5 -> 玩家最多可以拥有 5 个家

donutcore.home.x -> 玩家最多可以拥有 x 个家(你可以决定 x)

max-homes: 1

设置玩家需要具备的权限才能访问此功能

permissions: # /sethome 命令所需的权限 sethome: "donutcore.home.sethome" # /home 命令所需的权限 home: "donutcore.home.use" # /homes 命令所需的权限 homes: "donutcore.homes" # /delhome 命令所需的权限 delhome: "donutcore.delhome"

自定义家系统的消息

messages: # 如果你尝试以控制台身份执行此命令时显示的消息 no-player: "&6DonutCore &8| &c只有玩家才能执行此操作。" # 即使该功能已禁用,如果你尝试执行 /home 或 /sethome 时显示的消息 disabled: "&6DonutCore &8| &c家功能当前已禁用。" # 如果你没有此命令的权限 (/sethome 或 /home) 时显示的消息 no-permission: "&6DonutCore &8| &c你没有执行此操作的权限。" # 命令的使用说明消息 sethome-usage: "&6DonutCore &8| &c用法: /sethome [名称]" home-usage: "&6DonutCore &8| &c用法: /home [名称]" homes-usage: "&6DonutCore &8| &c用法: /homes</red>" delhome-usage: "&6DonutCore &8| &c用法: /delhome [名称]</red>" # 如果你使用包含无效符号的名称时显示的消息 invalid-name: "<gold>DonutCore <dark_gray>| <red>无效的家名称。仅使用字母、数字、- 和 _。</red>" # 成功创建家后显示的消息 sethome-success: "<gold>DonutCore <dark_gray>| <green>家 <gold>%home%</gold> 已设置。</green>" # 如果你已达到上限但仍尝试创建家时显示的消息 limit-reached: "<gold>DonutCore <dark_gray>| <red>你已达到家数量上限 <gold>%limit%</gold>。</red>" # 如果你尝试传送到一个不存在的家时显示的消息 not-found: "<gold>DonutCore <dark_gray>| <red>家 <gold>%home%</gold> 不存在。</red>" # 成功传送后显示的消息 teleport: "<gold>DonutCore <dark_gray>| <green>已传送到家 <gold>%home%</gold>。</green>" # 如果你输入 /homes 但没有家时显示的消息 no-homes: "<gold>DonutCore <dark_gray>| <red>你没有任何家。</red>" # 如果你输入 /homes 且有家时显示的消息 homes-list: "<gold>DonutCore <dark_gray>| <green>你的家 <gray>(%count%):</gray> <gold>%homes%</gold></green>" # 删除家后显示的消息 delhome-success: "<gold>DonutCore <dark_gray>| <green>家 <gold>%home%</gold> 已删除。</green>"


![Support](https://cdn.modrinth.com/data/cached_images/2a6ba24093153188849eb6457b57cbeb965e5e60.png)
如果你需要帮助或有疑问/建议,请加入我的 [Discord](https://dsc.gg/donutdev)。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源