告示牌现在可以显示实时更新的、针对每个玩家特定的消息(例如你的金钱数量)。你可以从100+个占位符中选择,或者自定义你自己的占位符!
此插件最初是 blablubbabc 开发的 InSigns 插件的一个附加组件。他还制作了一些其他非常棒的插件,你绝对值得去了解一下。
[概述]
- 允许你在告示牌上显示针对不同查看玩家的差异化文本。
- 只需在告示牌上输入自定义的{占位符},即可创建带有占位符的告示牌。
- 例如;{player} 会替换为你的用户名。
- 创建你自己的占位符,或下载额外的占位符。
- 占位符包含诸如你当前的余额或手持物品等信息。
- 占位符可以自动更新(默认每秒一次)
- 或者,你可以右键点击告示牌来手动更新它。
- 你可以在下方找到占位符的列表。
[依赖项]
[推荐]
- ProtocolLib(更高效地更新告示牌)
[可选]
- Vault(添加权限、经济和聊天相关的占位符)
- Enjin(添加 Enjin 标签)
- Factions(添加阵营相关的标签)
- Essentials(用于获取离线玩家的 DisplayName)
[命令]
| 命令 | 描述 | 权限 |
| /isp setline <index> <value> | 设置告示牌的一行内容 | insignsplus.setline insignsplus.setline.override |
| /isp help <placeholder> | 描述该占位符的功能和用法 | |
| /isp list <page> | 列出此插件支持的占位符 | |
| /isp save | 保存插件数据 | insignsplus.save |
| /isp reload | 重新加载所有配置 | insignsplus.reload |
| /isp enable | 启用一个被禁用的占位符 | insignsplus.enable |
| /isp disable | 禁用一个占位符 | insignsplus.disable |
[权限]
- insignsplus.create - 允许你使用所有非白名单限制的占位符
- insignsplus.create.* - 允许你使用所有内容
- insignsplus.create.<placeholder> - 允许你使用特定的占位符。
[占位符]
- {player}
- {world}
- {x}
- {y}
- {z}
- {lvl}
- {exp}
- {money}
- 点击此处查看详细列表.
[脚本编写]
- 自定义占位符请放入文件夹 ".../plugins/InSignsPlus/scripts/"
- 任何额外的占位符也将放置在此处。
- 要添加你自己的占位符,请复制默认模板 "example.yml"
- "example.yml" 对应的占位符将是 {example}
script:
- if {hasperm:hello}
- return &1Hello!
- else
- return &4Bye!
- 请访问脚本编写页面以获取更多信息。
[API]
想要为迷你游戏插件显示按用户分组的、实时更新的统计信息吗?
API 允许你实现无需担心底层协议细节的、按用户自动更新的告示牌消息:
- 点击此处查看开发者 API
[性能]
- 仅当服务器具有较高 Tick 率时,插件才会更新数据包。
- 更新操作在单独的线程上进行。
- 仅更新某些白名单内的占位符。
- 你可以配置同时更新的告示牌数量(默认 1000)。
- 你可以更改更新间隔(默认 1 秒)。
- 如果你认为没有必要,也可以简单地禁用自动更新。
[配置]
- 所有配置均可通过 config.yml 完成
autoupdate:
updates-per-milli: 1 #每毫秒应更新多少个告示牌
enabled: true #是否启用自动更新
interval: 1 #告示牌更新的频率
buffer: 1000 #每个更新间隔内要更新的告示牌最大数量
whitelist: # 需要更新的占位符列表(你可以添加自定义项)
- dead
- sleeping
- etc...
若要使某个占位符自动更新,只需将其添加到 config.yml 中的“whitelist”即可
[图片/视频]

[视频]
[有用链接]
[其他项目]
想要新功能/占位符?请留下评论或创建工单!
Signs can now display updating , user specific sign messages (such as your money). Choose from 100+ placeholders or make your own!
This plugin was originally an addon for InSigns by blablubbabc. He's made some other really neat plugins which you should definitely check out.
[Overview]
- Allows you to display text on a sign that is different for each player looking at it.
- Create signs with custom {placeholders} simply by typing them on the sign.
- For example; {player} will turn into your username.
- Create your own placeholders, or download additional ones.
- Placeholders contain information such as your current balance or the held item.
- Placeholders can be updated automatically (default once per second)
- Alternatively you can right click the sign to update it.
- You can find a list of placeholders below.
[Dependencies]
[Recommended]
- ProtocolLib (More efficient sign updating)
[Optional]
- Vault (Adds permission, economy and chat related placeholders)
- Enjin (Adds enjin tags)
- Factions (Adds faction related tags)
- Essentials (Used for getting offlineplayer DisplayName)
[Commands]
| Command | Description | Permission |
| /isp setline <index> <value> | Set a line of a sign | insignsplus.setline insignsplus.setline.override |
| /isp help <placeholder> | Describes the function and usage of the placeholder | |
| /isp list <page> | Lists the placeholders for this plugin | |
| /isp save | Saves the plugin data | insignsplus.save |
| /isp reload | Reloads all configuration | insignsplus.reload |
| /isp enable | Enable a disabled placeholder | insignsplus.enable |
| /isp disable | Disables a placeholder | insignsplus.disable |
[Permissions]
- insignsplus.create - allows you to use all non whitelisted placeholders
- insignsplus.create.* - allows you to use everything
- insignsplus.create.<placeholder> - allows you to use a specific placeholder.
[Placeholders]
- {player}
- {world}
- {x}
- {y}
- {z}
- {lvl}
- {exp}
- {money}
- Click here for a detailed list.
[Scripting]
- Custom placeholders go in the folder ".../plugins/InSignsPlus/scripts/"
- Any additional placeholders will go there.
- To add your own copy the default template "example.yml"
- The placeholder for "example.yml" would be {example}
script:
- if {hasperm:hello}
- return &1Hello!
- else
- return &4Bye!
- Please visit the scripting page for more info.
[API]
Want to display per user, updating statistics for your minigame plugin?
The API allows you to have auto-updating per user sign messages without having to worry about all the protocol stuff:
- Click here for the developer API
[Performance]
- The plugin only updates packets when the server has a high tickrate.
- The updates occur on a separate thread.
- Only certain whitelisted placeholders are updated.
- You can configure how many signs can be updated at one time (default 1000).
- You may change the update interval (default 1 second).
- You can also simply disable auto-updating if you don't think it's necessary.
[Configuration]
- All configuration can be done through the config.yml
autoupdate:
updates-per-milli: 1 #How many signs should be updated per millisecond
enabled: true #Wether auto-updating should be enabled
interval: 1 #How often should the signs be updated
buffer: 1000 #The maximum number of signs to update per interval
whitelist: # A list of placeholders to update (you can add your own)
- dead
- sleeping
- etc...
To get a placeholder to autoupdate, simply add it to the "whitelist" in the config.yml
[Images/Video]

[Videos]
[Useful Links]
[Other Projects]
Want new features/placeholders? Leave a comment, or create a ticket!
评论 0
登录后参与评分
还没有评论,来抢沙发吧