Memorial Edition

查看: 481|回复: 3

[原创插件] ModifyPlayer ——对玩家进行一些操作

[复制链接]

Lv.10 附魔师

人气
1572 点
金粒
281 粒
宝石
5 颗
爱心
333 颗
钻石
2264 颗
贡献
14 点

捉虫专家勋章石镐矿工勋章铁镐矿工勋章钻镐矿工勋章青苹果勋章红苹果勋章小麦种勋章苹果树勋章下界疣勋章论坛十周年纪念勋章论坛元老勋章骨灰勋章猪灵勋章搬运工勋章热心翻译者勋章创作爱好者勋章疯狂搬运工勋章士兵勋章神权论坛勋章优秀小组勋章-PluginsCDTribe金锭勋章

发表于 2024-7-31 21:37:57 | 显示全部楼层 |阅读模式
服务端插件
英文名称: ModifyPlayer
中文名称: 摸低父爱普勒尔
插件来源: 原创
适用服务端: CraftBukkit Spigot Paper Folia 
插件类型: 其他 
语言支持: 简体中文 
适用版本: 1.21.X 1.20.X 1.19.X 1.18.X 1.17.X 
前置mod|插件:
下载地址: https://v.v.v
原帖地址: https://v.v.v
图标Logo:
简介: 一坨使

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
1. `/health <set/add/remove> <health> [player] [set max]` - Set/Add/Remove player's health. If player is not specified, it defaults to oneself. If 'set max' is set to true, it will also set the player's maximum health. If not specified, the maximum health is not modified, only the current health is adjusted.
2. `/setfalldistance <distance> [player]` - Set player's fall distance. If player is not specified, it defaults to oneself.
3. `/burn <time> [player]` - Set player's burning time. Time is measured in ticks [20 ticks = 1 second]. If player is not specified, it defaults to oneself.
4. `/freeze <time> [player]` - Set player's freeze time. Time is measured in ticks. If player is not specified, it defaults to oneself.
5. `/toggleglow [player]` - Toggle player's glowing effect. If player is not specified, it defaults to oneself.
6. `/togglegravity [player]` - Toggle player's gravity. If player is not specified, it defaults to oneself.
7. `/toggleinvulnerable [player]` - Toggle player's invulnerability. If player is not specified, it defaults to oneself.
8. `/togglefakefire [player]` - Toggle player's fake fire effect. It makes them look like on fire, but it's only a visual effect.If player is not specified, it defaults to oneself.
9. `/forcebreak [player]` - Make the player attempt to break the currently targeted block with the item in hand. If player is not specified, it defaults to oneself. This command instantly destroys the block in front of the player using the item in hand. Drops are based on the item being used. For example, breaking diamond ore with bare hands will not drop any items, while breaking it with a Fortune III Netherite pickaxe may drop multiple diamonds. This command can be used to break bedrock, barriers, etc., but not command blocks. Use with caution.
10. `/chat <player> <message>` - Send a message in the chat as a specific player. The player name must be provided.
11. `/cansee <player1> <player2>` - Toggle whether player1 can see player2.
12. `/setndt <time> [player]` - Set player's no damage ticks. If player is not specified, it defaults to oneself.
13. `/setarrowsinbody <amount> [player]` - Set the number of arrows in player's body. If player is not specified, it defaults to oneself.

Permission: modifyplayer.[commandname]
for example modifyplayer.health

If you didn't enable the fly in the server, players will be kicked for the reason "Fly in the server is not enabled" when they are gravity-less
我不是罕见,我发到spigot上面的就是这么写的,懒得再翻译成中文了,反正会用的也不影响


ModifyPlayer-1.0.jar (7.93 KB, 下载次数: 6)


Lv.4 矿工

最高的荣耀享受孤独

人气
15 点
金粒
1364 粒
宝石
0 颗
爱心
0 颗
钻石
47 颗
贡献
0 点
发表于 2024-8-1 07:50:00 | 显示全部楼层
/health <set/add/remove> <health> [player] [set max] - 设置、增加或减少玩家的生命值。如果不指定玩家,则默认为施动者自身。如果设置了'set max'为真,则同时设置玩家的最大生命值。若未指定,最大生命值不会改变,仅调整当前生命值。
/setfalldistance <distance> [player] - 设置玩家的坠落距离。如果不指定玩家,则默认为施动者自身。
/burn <time> [player] - 设置玩家的燃烧时间。时间单位为刻(ticks),20刻等于1秒。如果不指定玩家,则默认为施动者自身。
/freeze <time> [player] - 设置玩家的冻结时间。时间单位为刻。如果不指定玩家,则默认为施动者自身。
/toggleglow [player] - 开关玩家的发光效果。如果不指定玩家,则默认为施动者自身。
/togglegravity [player] - 开关玩家的重力。如果不指定玩家,则默认为施动者自身。
/toggleinvulnerable [player] - 开关玩家的无敌状态。如果不指定玩家,则默认为施动者自身。
/togglefakefire [player] - 开关玩家的假火焰效果。这会使他们看起来像在着火,但实际上只是视觉效果。如果不指定玩家,则默认为施动者自身。
/forcebreak [player] - 让玩家尝试用手中的物品破坏当前瞄准的方块。如果不指定玩家,则默认为施动者自身。此命令会立即摧毁玩家前方的方块,掉落物取决于使用的物品。例如,徒手破坏钻石矿石不会掉落任何物品,而使用附有III级掠夺的下界合金镐头破坏它可能会掉落多颗钻石。此命令可以用来破坏黑曜石、屏障等,但不能破坏命令方块。请谨慎使用。
/chat <player> <message> - 以特定玩家的身份发送聊天信息。必须提供玩家名称。
/cansee <player1> <player2> - 切换player1是否能看到player2。
/setndt <time> [player] - 设置玩家的无伤害计时器。如果不指定玩家,则默认为施动者自身。
/setarrowsinbody <amount> [player] - 设置玩家身上箭矢的数量。如果不指定玩家,则默认为施动者自身。
权限要求:modifyplayer.[commandname]
例如:modifyplayer.health

如果服务器没有启用飞行,当玩家处于无重力状态时,会因“服务器未启用飞行”而被踢出。



机翻的应该对的上吧
回复

使用道具 举报

Lv.11 领主

人气
3351 点
金粒
1079 粒
宝石
0 颗
爱心
3374 颗
钻石
2490 颗
贡献
26 点

石镐矿工勋章铁镐矿工勋章钻镐矿工勋章青苹果勋章红苹果勋章金苹果勋章小麦种勋章苹果树勋章下界疣勋章论坛十周年纪念勋章面包勋章骨灰勋章猪灵勋章Java正版勋章Windows 10正版勋章金锭勋章金块勋章搬运工勋章捉虫专家勋章疯狂搬运工勋章精英翻译官勋章

发表于 2024-8-2 11:50:13 | 显示全部楼层
你摆烂了?

点评

以前做的东西在这也放一个  详情 回复 发表于 2024-8-2 22:48
回复

使用道具 举报

Lv.10 附魔师

人气
1572 点
金粒
281 粒
宝石
5 颗
爱心
333 颗
钻石
2264 颗
贡献
14 点

捉虫专家勋章石镐矿工勋章铁镐矿工勋章钻镐矿工勋章青苹果勋章红苹果勋章小麦种勋章苹果树勋章下界疣勋章论坛十周年纪念勋章论坛元老勋章骨灰勋章猪灵勋章搬运工勋章热心翻译者勋章创作爱好者勋章疯狂搬运工勋章士兵勋章神权论坛勋章优秀小组勋章-PluginsCDTribe金锭勋章

 楼主| 发表于 2024-8-2 22:48:53 | 显示全部楼层

以前做的东西在这也放一个
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

流水落花春去也,天上人间。

Archiver|小黑屋| Mcbbs2.net | 隐私政策 | 手机版

GMT+8, 2024-9-20 00:19 , Processed in 0.118176 second(s), 22 queries , Redis On.

"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

© 2010-2024 MCBBS纪念版 版权所有 本站内原创内容版权属于其原创作者,除作者或版规特别声明外未经许可不得转载

返回顶部