LZS蓝天
本帖最后由 LZS蓝天 于 2022-1-20 12:56 编辑

SuperFunction - 你的第一个基础插件



插件介绍&功能


本插件为小游戏&生存服提供了基础的功能支持

现有的功能:

飞行

隐身

进服提示

踢出玩家

治疗



插件指令


/fly  开启/关闭飞行

/vanish  开启/关闭隐身

/kick <玩家>  踢出玩家

/health  治疗自己



插件权限


superfunction.fly  飞行权限

superfunction.vanish  隐身权限

superfunction.kick  踢出玩家权限

superfunction.health  治疗权限



配置文件


config.yml
  1. #
  2. # SuperFunction - 超级功能 by Bluesky_ES
  3. # Plugin Version: 1.0  Config Version: 1.0
  4. #

  5. #请勿修改此选项
  6. #Do not modify this option.
  7. config_version: 1.0

  8. #插件全局语言  现支持的语言有:简体中文(zh_CN),英语(en_US)  默认:zh_CH
  9. #Plugin global language.  Currently supported languages are: Simplified Chinese (zh_CN), English (en_US).  Default: zh_CN
  10. language: zh_CN

  11. #插件信息前缀
  12. #Plugin message prefix.
  13. prefix: "&6[SuperFunction] &f"

  14. events:
  15.   player_join:
  16.     title: true
  17.     titleFadeIn: 5
  18.     titleStay: 35
  19.     titleFadeOut: 10
  20.     message: true
  21.   player_quit:
  22.     message: true
复制代码



zh_CN.yml (中文语言文件)
  1. error:
  2.   executeByConsole: "&c此指令仅能玩家执行!"
  3.   noPermission: "&c你没有权限执行此命令!"

  4. commands:
  5.   fly:
  6.     enable: "&a飞行已开启!"
  7.     disable: "&c飞行已关闭!"
  8.   vanish:
  9.     enable: "&a你进入了隐身模式,其他玩家将无法看到你!"
  10.     disable: "&c你退出了隐身模式,现在所有玩家都可以看到你!"
  11.   health: "&a你已被治疗!"
  12.   kick:
  13.     usage: "&c参数错误! /kick <player|all> [reason]"
  14.     message: "&a成功踢出玩家%target%!(原因: %reason%)"
  15.     error: "&c你不能踢出玩家%target%!"
  16.     offline: "&c该玩家不在线!"
  17.     defaultkickmessage: "&f管理员没有填写原因。"

  18. events:
  19.   player_join:
  20.     title: "&a欢迎加入xxx服务器"
  21.     subtitle: "&e玩家%player%"
  22.     message: "&8[&2+&8] %player%"
  23.   player_quit:
  24.     message: "&8[&4-&8] %player%"
复制代码



en_US.yml (英文语言文件)
  1. error:
  2.   executeByConsole: "&cThis command can only be executed by the player!"
  3.   noPermission: "&cYou do not have permission to execute this command!"

  4. commands:
  5.   fly:
  6.     enable: "&aFlight is on!"
  7.     disable: "&cFlight is off!"
  8.   vanish:
  9.     enable: "&aYou are in vanish mode and other players will not be able to see you!"
  10.     disable: "&cYou are out of vanish mode and now all players can see you!"
  11.   health: "&aYou have been healed!"
  12.   kick:
  13.     usage: "&cGrammatical errors! /kick <player|all> [reason]"
  14.     message: "&aSuccessfully kicked player %target%! (reason: %reason%)"
  15.     error: "&cYou cannot kick player %target%!"
  16.     offline: "&cThis player is offline!"
  17.     defaultkickmessage: "&fThe administrator did not fill in the reason."

  18. events:
  19.   player_join:
  20.     title: "&a&aWelcome to XXX server"
  21.     subtitle: "&ePlayer%player%"
  22.     message: "&8[&2+&8] %player%"
  23.   player_quit:
  24.     message: "&8[&4-&8] %player%"
复制代码



使用图片




插件下载


SuperFunction-1.0.jar (42.55 KB, 下载次数: 8)


统计信息




声明
本插件所用所有代码均为原创,不存在借用/抄袭等行为.

mcpanglei
支持一下,虽然此类插件很多

LZS蓝天
mcpanglei 发表于 2022-1-20 14:41
支持一下,虽然此类插件很多

你的支持是我开发的动力

第一页 上一页 下一页 最后一页