SexyMotd
BukkitDev 上最棒的 Motd 插件
SexyMotd for BungeeCord servers has been released on Spigot! Search "SexyMotdBungee" on the SpigotMC site to find it!
SexyMotd v1.4+ can be found on SpigotMC!
Features
- Change motd easy and quick with in-game commands (1.2.2 and earlier)
- Colored motds
- Fake online players
- Fake max players
- Player's IP logging
- Display player's name with %playername% (done with IP logging)
- Display server's name with %servername%
- Display online players with %online_players%
- Display max player slots with %max_players%
- Skip to the next line of motd with %newline%
- Display server's version with %version%
- Avatar icons (player's face as a server icon) (done with IP logging)
- Overlaying a custom transparent image (.png) over the avatar icon, by providing either a file path, or a URL
- Fake version.
- Custom message on list hover.
- Randomized Motds
- Randomized fake online players
- Custom variables!!
- %newplayer%, %banned%, %whitelisted% Boolean variables (for use with conditional/custom variables)
- %groupName% variable (Will require PermissionsEx)
Variables
| Variable | Function | Type |
| %groupname% | Display the PEX groups that the user belongs to. | Array - String |
| %ip% | Display the user's IP. | String |
| %maxplayers% | Display the maximum player count from the server.properties. | Integer |
| %newline% | Skip to the second line of the MOTD. | \n |
| %onlineplayers% | Display the current online player count. | Integer |
| %playername% | Display the last known display name from that IP. | String |
| %playernames% | Display the names of all players currently online. | Array - String |
| %randomplayer% | Display the name of a random online player. Defaults to default guest name in the configuration. | String |
| %servername% | Display the server name defined in server.properties. | String |
| %version% | Display the server version | String |
Variable Operators:
Variable operators allow you to modify the output of a variable with a special variable suffix.
Integer Variables -
Add a "+", "-", "*", or "/" followed by a number after any integer type variable to apply the operation to it. Example: %onlineplayers%+10
Array Variables -
Add a "[x]", where x is the index within the array, after any array type variable to only display one list item. Otherwise, arrays are displayed as "x, y, z"
Array variables of integer type are not eligible for integer operations after the index declaration.
Example: %playernames%[2]
Config and Custom Variables
SexyMotd 1.2.2 and Earlier
Commands:
| Command | Description |
| /motd addmotd <motd> | Adds an Motd |
| /motd removemotd <index> | Removes an Motd |
| /motd listmotds | Lists the Motds |
| /motd maxplayers toggle | Toggles the FakeMaxPlayers |
| /motd toggle | Toggles the SexyMotd (Note: your server will NOT look sexy if you disable it! :) ) |
| /motd maxplayers set <number> | Sets the FakeMaxPlayers |
| /motd players add <number> | Adds an online player number. |
| /motd players remove <index> | Removes an online player number. |
| /motd players list | Lists the online player numbers. |
| /motd avataricon | Toggles the Avatar Icon (player faces as server icon) |
| /motd info | Displays the info |
| /motd reload | Reloads the config. |
| /motd restart | Restarts the plugin. |
SexyMotd 1.2.2 and Earlier
Permissions:
| Permission | Command/Action | Default |
| sexymotd.set | /motd <subsection>motd(s) | OP |
| sexymotd.toggle | /motd toggle | OP |
| sexymotd.maxplayers.* | /motd maxplayers | OP |
| sexymotd.maxplayers.toggle | /motd maxplayers toggle | OP |
| sexymotd.maxplayers.set | /motd maxplayers set | OP |
| sexymotd.players.set | /motd players <subcommand> | OP |
| sexymotd.avataricon | /motd avataricon | OP |
| sexymotd.info | /motd info | All |
| sexymotd.reload | /motd reload | |
| sexymotd.restart | /motd restart |
Disclaimers
此插件使用 Minotar 服务来显示玩家头像作为服务器图标。
SexyMotd v1.2 及更早版本: 为了提供有关新更新的信息,此插件使用 Gravity 的自动更新器服务查询 dev.bukkit.org 以获取新更新。更新不会自动下载,但可以通过 /bm 命令或在可用时点击提供的链接进行下载。通过将 config 中的 CheckUpdates 部分设置为 false,可以禁用更新警告。
SexyMotd v1.2 及更早版本: 我们使用 Hidendra 的 PluginMetrics 来收集运行 SexyMotd 的服务器数据。这些数据被打包并发送到 report.mcstats.org 进行处理。从您的服务器收集以下数据:
- 您服务器的唯一指标 ID。
- PluginMetrics 的版本。
- 您服务器的 CraftBukkit 版本。
- 玩家数量。
- 您计算机的操作系统。
- 您计算机的架构类型。
- 您 CPU 的核心数量。
- 您服务器的在线模式状态。
- 您安装的 Java 版本。
通过将 plugins/PluginMetrics/config.yml 中的 opt-out 部分更改为 true,可以禁用 Metrics。
要求
此插件需要 ProtocolLib 才能正常运行!您可以在此处获取:
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧