
Gravy 通过在游戏者死亡位置生成坟墓来方便您复活后找回物品,只需破坏骷髅头即可掉落物品。坟墓受到任何类型的爆炸和活塞的保护,并提供一些有用的命令供您使用,以显示您的坟墓位置和传送至它们。此插件还包含权限控制,用于管理谁能破坏和使用这些坟墓。
目前无需任何依赖项。
- 仅当玩家背包不为空时,其死亡才会生成坟墓。
- 只有拥有权限 [gravy.break] 的玩家才能破坏你的坟墓。
- 如果目标玩家在线且拥有权限 [gravy.protected],则拥有 [gravy.break] 权限的玩家无法破坏该玩家的坟墓。
- 你可以通过破坏骷髅头来取回你的物品。
- 当你破坏自己的坟墓时,如果 spawn_zombie_on_owner_break 设置为 true,则会生成一只僵尸。
- 当你破坏不属于你自己的坟墓时,如果 spawn_zombie_on_not_owner_break 设置为 true,则会生成一只僵尸。
- 如果你在岩浆或水中死亡,你的坟墓将在死亡位置上方的第一个空气方块处生成。
- 拥有权限 [gravy.info] 的玩家可以通过右键点击骷髅头查看坟墓信息。
- 使用 /gravy recover 命令可以传送到你的坟墓位置,但坟墓必须位于同一维度中(例如,你不能从主世界传送到下界的坟墓)。
- 你可以使用 /gravy disable <world_name> 或 /gravy enable <world_name> 在世界中禁用或启用坟墓功能。
- 使用 /gravy worlds 命令可以列出服务器上所有世界的列表。
- 你可以在配置文件中启用 Gravy Token 的使用功能。启用后,玩家需要在背包中持有 Gravy Token 才能在死亡时生成坟墓。
- 你可以使用权限 [gravy.token.use] 限制特定玩家使用令牌的功能。
- 你可以在配置文件中启用令牌的合成功能,并自定义合成配方。你也可以使用权限 [gravy.token.craft] 限制特定玩家进行合成。
- 你可以在配置文件中启用怪物掉落令牌的功能,可以更改掉落的怪物类型,并使用权限 [gravy.token.drop] 限制特定玩家获得掉落物。
- 如果你拥有权限 [gravy.token.give],你可以给自己或其他玩家发放令牌。
[gravy.reload]: 使用 /gravy reload
[gravy.list]: 使用 /gravy list
[gravy.list.player]: 使用 /gravy list <player>
[gravy.recover]: 使用 /gravy recover
[gravy.recover.player]: 使用 /gravy recover
[gravy.permission]: 使用 /gravy permission
[gravy.worlds.list]: 使用 /gravy worlds
[gravy.worlds.enable]: 使用 /gravy enable <world_name>
[gravy.worlds.disable] :使用 /gravy disable <world_name>
[gravy.token.give]: 使用 /gravy give <player> token <amount>
[gravy.break]: 破坏任意坟墓
[gravy.protected]: 拥有 [gravy.break] 权限的玩家无法破坏你的坟墓
[gravy.notimer]: 无限坟墓计时器
[gravy.grave]: 玩家死亡时生成一个坟墓
[gravy.info]: 玩家可以查看坟墓信息
[gravy.updater]: 在聊天栏中查看更新链接
[gravy.token.use]: 允许玩家使用令牌
[gravy.token.craft]: 允许玩家合成令牌
[gravy.token.drop]: 允许玩家掉落令牌
debug_mode: false # 用于开发,请保持为 false
chat_line_color: '&2' # 聊天中的行颜色
save_timer: 60 # 保存之间的时间间隔(秒)
spawn_zombie_on_not_owner_break: true # 当玩家破坏不属于他的坟墓时生成僵尸
spawn_zombie_on_owner_break: false # 当玩家破坏自己的坟墓时生成僵尸
zombie_hp: 20 # 僵尸生命值[/COLOR]
can_zombie_pickup_items :true # 设置为 true 时,僵尸生成时会拾取地上的物品
grave_timer: 1200 # 坟墓过期前的计时器时间(秒)
enable_timer: true # 使坟墓过期
execute_command_on_respawn: true # 玩家重生时执行命令
execute_command_on_grave_break: true # 玩家破坏坟墓时执行命令
command_: ' ' # 玩家重生时执行的命令。
command_on_grave_break :'' # 玩家破坏坟墓时执行的命令。
你可以使用
%%player%% 获取玩家名称
%%xpos%%, %%ypos%%, %%zpos%% 获取玩家死亡位置的 x、y 和 z 坐标
drop_items_on_player_kill: false # 如果玩家被其他玩家杀死,则掉落其物品栏
enable_token_use: true # 启用令牌使用
enable_token_craft: true # 启用令牌合成
enable_token_drop: true # 启用令牌掉落
token_drop_mob: GHAST # 掉落令牌的生物
token_drop_amount: 1 # 每个生物掉落的数量
token_drop_chance: 0.05 # 物品掉落几率 0.05 = 5%
token_item: MAGMA_CREAM # 代表令牌的物品
token_craft_recipe: GOLD_INGOT:GOLD_INGOT:GOLD_INGOT-GOLD_INGOT:DIAMOND:GOLD_INGOT-GOLD_INGOT:CHEST:GOLD_INGOT # 合成配方
disabled_worlds: # 禁用坟墓的世界列表
此命令会在玩家重生时,给予其一本记录死亡坐标的书:
command_: give %%player%% written_book 1 0 {pages:["[\"\",{\"text\":\"RIP %%player%%\"},{\"text\":\"\\n\\n\\nGrave Location:\"},{\"text\":\"\\n\\nX = %%xpos%%\"},{\"text\":\"\\n\\nY = %%ypos%%\"},{\"text\":\"\\n\\nZ = %%zpos%%\"}]"],title:RIP,author:Gravy}
守护者
在所有支持的 Minecraft 版本中全面支持玩家皮肤
...
- 请在讨论区留下你的任何建议,我很可能会将其添加进去。
你不得反编译此插件的源代码!
你不得重新上传此插件!
你不得将此源代码包含在你的插件中!
你不得声称此插件为你所有!
本插件仍在开发中,可能包含错误。如果你发现错误,请在讨论区报告。
报告错误时请提供以下信息:
- 服务器软件(Spigot、Bukkit 等)
- 服务器版本(1.11、1.12 等)
- Gravy 版本
- 控制台输出
- 错误描述

Gravy make it easy to recover you items after death, by spawning a grave at the player location, the items will drop by breaking the skull. The grave is protected against any kind of explosion and pistons, you have some useful commands at you disposition to display your graves locations and teleport to them, this plugin also include permissions to control how and who can break and use the graves.
There is no dependencies at the moment.
- A grave will spawn on player death only if his inventory is not empty.
- Only players with the Permission [gravy.break] can break your grave.
- Players with the Permission [gravy.break] can't break a player's grave with the Permission [gravy.protected] if he's Online.
- You can recover your Items By breaking the skull.
- When you break your grave if spawn_zombie_on_owner_break is set to true a Zombie will spawn.
- When you break a grave you don't own and if spawn_zombie_on_not_owner_break is set to true a Zombie will spawn.
- If you die in lava or water you grave will spawn in the first Air blocks it finds above the location of your death.
- Player with the Permission [gravy.info] can see the grave information by right clicking the skull.
- Using /gravy recover will teleport you to your grave location, the grave must be in the same dimension for example you can't teleport to a grave in the nether if you're in the overworld.
- You can disable or enable graves in a world using /gravy disable <world_name> or /gravy enable <world_name>
- You can list all the world on a server using /gravy worlds.
- You can enable the use of gravy tokens in the config, when enabled player will need to have a gravy token in their inventory in order for a grave to spawn when they die.
- You can limit the use of the token to just a selected player by using [gravy.token.use].
- The craft of the token can be enabled in the config, you can change the recipe in the config, you can limit the craft to a selected players by using [gravy.token.craft].
- You can enable the drop of the token from a mob in the config, the mob type can be changed, and you can limit the drop to a selected player by using [gravy.token.drop].
- If you have the permission [gravy.token.give] you can give yourself or other player the token.
[gravy.reload]: use /gravy reload
[gravy.list]: use /gravy list
[gravy.list.player]: use /gravy list <player>
[gravy.recover]: use /gravy recover
[gravy.recover.player]: use /gravy recover
[gravy.permission]: use /gravy permission
[gravy.worlds.list]: use /gravy worlds
[gravy.worlds.enable]: use /gravy enable <world_name>
[gravy.worlds.disable] :use /gravy disable <world_name>
[gravy.token.give]: use /gravy give <player> token <amount>
[gravy.break]: break any grave
[gravy.protected]: players with [gravy.break] can't break your grave
[gravy.notimer]: infinite grave timer
[gravy.grave]: a grave spawn when the player die
[gravy.info]: player can see the grave information
[gravy.updater]: see the update link in chat
[gravy.token.use]: let the player use the token
[gravy.token.craft]: let the player craft the token
[gravy.token.drop]: let the player drop the token
debug_mode: false # used for development keep it at false
chat_line_color: '&2' # The Line color in the chat
save_timer: 60 # the time between saves
spawn_zombie_on_not_owner_break: true #when a player break a grave he doesn't own
spawn_zombie_on_owner_break: false #when a player break his own grave
zombie_hp: 20 #zombie hp[/COLOR]
can_zombie_pickup_items :true #when set to true the zombie will pickup items on the ground when he spawn.
grave_timer: 1200 # the grave timer before it expire in seconds
enable_timer: true # make the graves expire
execute_command_on_respawn: true # execute a command when the player respawn
execute_command_on_grave_break: true # execute a command when the player break a grave
command_: ' ' # the command to execute when a player respawn.
command_on_grave_break :'' # the command to execute when a player break a grave.
you can use
%%player%% to get the player name
%%xpos%%, %%ypos%%, %%zpos%% for the player death location x,y and z
drop_items_on_player_kill: false # drop the player inventory if he was killed by another player
enable_token_use: true #enable the use of tokens
enable_token_craft: true #enable the craft of tokens
enable_token_drop: true #enable the drop of tokens
token_drop_mob: GHAST #the mob that drop the tokens
token_drop_amount: 1 #how much drop from a mob
token_drop_chance: 0.05 #the chance of the item to drop 0.05 = 5%
token_item: MAGMA_CREAM #the item representing the token
token_craft_recipe: GOLD_INGOT:GOLD_INGOT:GOLD_INGOT-GOLD_INGOT:DIAMOND:GOLD_INGOT-GOLD_INGOT:CHEST:GOLD_INGOT #the recipe
disabled_worlds: #the worlds where the graves are disabled
This command will give the player a book with his death coordinates when he respawn:
command_: give %%player%% written_book 1 0 {pages:["[\"\",{\"text\":\"RIP %%player%%\"},{\"text\":\"\\n\\n\\nGrave Location:\"},{\"text\":\"\\n\\nX = %%xpos%%\"},{\"text\":\"\\nY = %%ypos%%\"},{\"text\":\"\\nZ = %%zpos%%\"}]"],title:RIP,author:Gravy}
Guardian
Full support of player skins across all supported Minecraft versions
...
- leave any suggestion you have in the discussion section and I'll must likely add it.
You are not allowed to decompile the source code!
You are not allowed to re-upload the plugin!
You are not allowed to include the source code in your plugin!
You are not allowed to claim this plugin as yours!
This plugin is still in development and might contain bugs, if you find a bug please report it in the discussion section.
when reporting a bug please provide these information:
- Server Software (Spigot, Bukkit...)
- Server Version (1.11, 1.12...)
- Gravy Version
- Output in the console
- Description of the Bug
评论 0
登录后参与评分
还没有评论,来抢沙发吧