
最近的 Minecraft Java 版本修复了多年来农场和玩家利用的若干**线(string)和绊线(tripwire)**复制漏洞。如果你的世界因此失去了这种资源来源,SlashString 是一个合理的替代方案:只需一条命令,你即可设定玩家获得的线的数量以及使用频率,且完全杜绝了利用漏洞的可能。
它做什么?
- 玩家输入
/string 即可获得一组线(用于弓、羊毛、绊线及大量合成配方的物品)。
- 你可以选择玩家获得多少线,以及再次使用该命令前需要等待多久。
- 如果玩家的背包已满,你可以选择让多余的线掉落在地上,还是直接丢弃。
本插件无需权限插件配置:只要能在你的服务器上执行命令的玩家都可以使用 /string,除非你在主机提供商的文件中自行屏蔽了该命令。
安装方法
- 从本项目文件页面下载插件 .jar 文件。
- 将 jar 文件放入服务器的
plugins 文件夹中。
- 重启服务器(或按照你通常的方式加载插件)。
你需要一个 Paper(或 Paper 风格)的 Minecraft 服务器。本插件针对最新的 1.21 版本构建;如果你的服务器版本不匹配,请在安装前咨询主机提供商或查看项目中的版本标签。
命令
| 命令 |
谁可以使用? |
/string |
世界中的玩家。他们根据设置获得线。 |
/string reload |
服务器控制台始终有效。玩家必须是服务器操作员(已 op)才能重载配置。 |
重载会从配置文件和消息文件中应用更改,而无需重启整个服务器。
设置 (config.yml)
首次启动后,打开:
plugins/SlashString/config.yml
| 设置项 |
含义 |
| amount |
每次使用 /string 给予的线的数量(至少为 1)。 |
| cooldown-seconds |
玩家再次使用 /string 前必须等待的秒数。使用 0 表示无冷却时间。 |
| drop-if-full |
true:如果背包已满,多余的线掉落在脚边。 false:多余的线不会掉落(会被移除)。 |
编辑文件后,从控制台(或在游戏内如果你已 op)运行 /string reload。
消息 (messages.yml)
插件发送的文本(冷却警告、“你获得了线”、重载成功等)位于:
plugins/SlashString/messages.yml
你可以更改措辞和颜色。颜色使用常规的 & 代码(例如 &a 绿色,&c 红色,&e 黄色,&7 灰色)。占位符如 {amount} 会自动填充。请确保拼写与默认文件完全一致。
编辑后,使用 /string reload 以便玩家立即看到新的文本。
许可证
- ? 不得将此插件声称为你自己的作品。
- ? 不得转售或重新分发此插件。
- ✅ 仅允许出于个人用途修改此插件;禁止重新分发。
Bstats

Recent Minecraft Java updates have closed several string and tripwire duplication tricks that farms and players used for years. If your world just lost that supply, SlashString is a fair replacement: one command, and you set how much string they get and how often, with no exploits involved.
What does it do?
- Players type
/string and receive a stack of string (the item used for bows, wool, tripwires, and lots of crafts).
- You choose how many they get and how long they must wait before using the command again.
- If their inventory is full, you can choose whether extra string falls on the ground or is thrown away.
There is no permission plugin setup: everyone who can use commands on your server can use /string, unless you block the command yourself in your host’s files.
Installation
- Download the plugin .jar from this project’s files page.
- Put the jar in your server’s
plugins folder.
- Restart the server (or load the plugin the way you usually do).
You need a Paper (or Paper-style) Minecraft server. The plugin is built for recent 1.21 releases; if your server version does not match, ask your host or check the project’s version tags before installing.
Commands
| Command |
Who can use it? |
/string |
Players in the world. They get string according to your settings. |
/string reload |
The server console always works. Players must be a server operator (opped) to reload. |
Reloading applies changes from your config and message files without restarting the whole server.
Settings (config.yml)
After the first start, open:
plugins/SlashString/config.yml
| Setting |
What it means |
| amount |
How many string items one use of /string gives (at least 1). |
| cooldown-seconds |
How many seconds a player must wait before /string works again. Use 0 for no cooldown. |
| drop-if-full |
true: if the inventory is full, extra string drops at their feet. false: extra string does not drop (it is removed). |
Edit the file, then run /string reload from the console (or in-game if you are opped).
Messages (messages.yml)
Text the plugin sends (cooldown warnings, “you received string”, reload success, and so on) lives in:
plugins/SlashString/messages.yml
You can change the wording and colors. Colors use the usual & codes (for example &a green, &c red, &e yellow, &7 gray). Placeholders like {amount} are filled in automatically. Keep those spelled exactly as in the default file.
After editing, use /string reload so players see the new text right away.
License
- ? You may not claim this plugin as your own.
- ? You may not resell or redistribute this plugin.
- ✅ You may modify this plugin for personal use only; redistribution is not permitted.
Bstats
评论 0
登录后参与评分
还没有评论,来抢沙发吧