LandRealms 是一款全面的 Minecraft 插件,允许玩家创建和管理自己的个人平坦世界。玩家可以创建自定义领域,邀请好友,在世界之间传送,并为每个领域维护独立的物品栏。该插件具有直观的用户界面(GUI)以便于世界管理,以及强大的权限系统。
功能特性
- 创建和管理个人平坦世界
- 直观的世界管理 GUI
- 每个世界拥有独立的物品栏
- 玩家邀请系统
- 可切换世界的和平模式
- 多语言支持(英语和俄语)
- 用于世界管理的管理员控制
- 服务器重启后世界数据持久保存
命令
所有命令都可以使用 /lr 或 /flatworld 作为基础命令来访问。
基本命令
/lr - 打开主 GUI 菜单
/lr help - 显示帮助信息
/lr gui - 打开主 GUI 菜单(备用命令)
世界创建与管理
/lr create <name> - 使用指定名称创建一个新的平坦世界
/lr delete <world> - 删除你的其中一个世界
/lr tp <world> 或 /lr teleport <world> - 传送到指定的世界
/lr back - 返回到上一个世界
/lr list - 显示你可访问的世界列表(打开 GUI)
邀请系统
/lr invite <world> <player> - 邀请一名玩家加入你的世界
/lr accept - 接受待处理的 world 邀请
/lr deny - 拒绝待处理的 world 邀请
世界设置
/lr setlimit <world> <limit> - 设置世界的玩家人数上限
/lr peaceful <world> <on/off> - 切换世界的和平模式
物品转移
/lr items - 打开管理员物品转移菜单
/lr getitems - 打开玩家物品转移菜单
管理员命令
/lr assign <world> <player> - 将世界的所有权分配给一名玩家
/lr vanilla - 显示原版(非自定义)世界列表
/lr vanilla add <world> - 将世界添加到原版世界列表中
/lr vanilla remove <world> - 从原版世界列表中移除一个世界
/lr vanilla current - 将当前世界添加到原版世界列表中
/lr reload - 重新加载插件配置
权限
flatworlds.donor - 允许创建平坦世界
flatworlds.delete - 允许删除自己的平坦世界
flatworlds.teleport - 允许传送到可访问的世界
flatworlds.invite - 允许邀请玩家加入自己的世界
flatworlds.list - 允许查看可访问的世界列表
flatworlds.admin - 授予所有管理员命令的访问权限
flatworlds.unlimited - 允许创建无限数量的世界
flatworlds.peaceful - 允许在自己的世界中切换和平模式
GUI 导航
- 主菜单 - 访问你的世界、创建新世界并管理物品
- 世界列表 - 查看和管理你的世界
- 世界管理 - 传送到某个世界、管理玩家、更改设置或删除世界
- 世界设置 - 更改玩家上限、出生点、时间、天气和和平模式
- 世界玩家 - 管理你世界中的玩家并发送邀请
翻译支持
该插件通过区域设置系统支持多种语言。目前包含英语 (en) 和俄语 (ru)。翻译存储在 plugins/LandRealms/locale/ 目录下的 YAML 文件中。
关于翻译的说明: 某些翻译可能未完全实现或显示不正确。如果遇到任何翻译问题,请报告它们。你也可以通过复制现有的语言文件并翻译其中的消息来创建自己的翻译。
要更改插件语言,请编辑 config.yml 文件中的 language 设置。
使用示例
创建新世界
- 输入
/lr 打开主 GUI
- 点击标有“Create World”(创建世界)的海晶块
- 在聊天中输入新世界的名称
- 等待世界创建完成
- 你将自动传送到你的新世界
邀请朋友
- 输入
/lr 打开主 GUI
- 在世界列表中点击你的世界
- 点击标有“Manage Players”(管理玩家)的玩家头颅
- 点击标有“Invite Player”(邀请玩家)的书本
- 在聊天中输入你想要邀请的玩家名称
- 该玩家将收到邀请,他们可以通过
/lr accept 接受邀请
返回上一个世界
如果你在世界之间传送并希望返回:
- 输入
/lr back 返回到上一个世界
- 你的物品栏和位置将被保留
故障排除
- 如果
/lr back 命令不起作用,请确保你拥有 flatworlds.teleport 权限
- 如果翻译显示不正确,请检查你的
config.yml 语言设置
- 如果世界加载失败,请在服务器控制台中查找错误消息
- 如果遇到物品栏问题,尝试使用
/lr getitems 从其他世界检索物品
配置
该插件会创建几个配置文件:
config.yml - 主要配置设置
worlds.yml - 世界数据和设置
previous-worlds.yml - 存储上一个世界的数据以用于 /lr back 命令
locale/en.yml 和 locale/ru.yml - 语言文件
LandRealms is a comprehensive Minecraft plugin that allows players to create and manage their own personal flat worlds. Players can create custom realms, invite friends, teleport between worlds, and maintain separate inventories for each realm. The plugin features an intuitive GUI for easy world management and a robust permission system.
Features
- Create and manage personal flat worlds
- Intuitive GUI for world management
- Separate inventories for each world
- Player invitation system
- Peaceful mode toggle for worlds
- Multi-language support (English and Russian)
- Admin controls for world management
- World persistence across server restarts
Commands
All commands can be accessed using either /lr or /flatworld as the base command.
Basic Commands
/lr - Opens the main GUI menu
/lr help - Shows help information
/lr gui - Opens the main GUI menu (alternative)
World Creation and Management
/lr create <name> - Creates a new flat world with the specified name
/lr delete <world> - Deletes one of your worlds
/lr tp <world> or /lr teleport <world> - Teleports to a specified world
/lr back - Returns to your previous world
/lr list - Shows a list of your accessible worlds (opens GUI)
Invitation System
/lr invite <world> <player> - Invites a player to your world
/lr accept - Accepts a pending world invitation
/lr deny - Denies a pending world invitation
World Settings
/lr setlimit <world> <limit> - Sets the player limit for a world
/lr peaceful <world> <on/off> - Toggles peaceful mode in a world
Item Transfer
/lr items - Opens the admin item transfer menu
/lr getitems - Opens the player item transfer menu
Admin Commands
/lr assign <world> <player> - Assigns ownership of a world to a player
/lr vanilla - Shows a list of vanilla (non-custom) worlds
/lr vanilla add <world> - Adds a world to the vanilla worlds list
/lr vanilla remove <world> - Removes a world from the vanilla worlds list
/lr vanilla current - Adds the current world to the vanilla worlds list
/lr reload - Reloads the plugin configuration
Permissions
flatworlds.donor - Allows creating flat worlds
flatworlds.delete - Allows deleting own flat worlds
flatworlds.teleport - Allows teleporting to accessible worlds
flatworlds.invite - Allows inviting players to own worlds
flatworlds.list - Allows viewing list of accessible worlds
flatworlds.admin - Grants access to all admin commands
flatworlds.unlimited - Allows creating unlimited number of worlds
flatworlds.peaceful - Allows toggling peaceful mode in own worlds
GUI Navigation
- Main Menu - Access your worlds, create new worlds, and manage items
- Worlds List - View and manage your worlds
- World Management - Teleport to a world, manage players, change settings, or delete the world
- World Settings - Change player limit, spawn point, time, weather, and peaceful mode
- World Players - Manage players in your world and send invitations
Translation Support
The plugin supports multiple languages through the locale system. Currently, English (en) and Russian (ru) are included. Translations are stored in YAML files in the plugins/LandRealms/locale/ directory.
Note about translations: Some translations may not be fully implemented or may display incorrectly. If you encounter any translation issues, please report them. You can also create your own translation by copying an existing language file and translating the messages.
To change the plugin language, edit the language setting in the config.yml file.
Usage Examples
Creating a New World
- Type
/lr to open the main GUI
- Click on the Emerald block labeled "Create World"
- Enter the name of your new world in chat
- Wait for the world to be created
- You will be automatically teleported to your new world
Inviting a Friend
- Type
/lr to open the main GUI
- Click on your world in the worlds list
- Click on the Player Head labeled "Manage Players"
- Click on the Book labeled "Invite Player"
- Enter the name of the player you want to invite in chat
- The player will receive an invitation they can accept with
/lr accept
Returning to a Previous World
If you've teleported between worlds and want to go back:
- Type
/lr back to return to your previous world
- Your inventory and location will be preserved
Troubleshooting
- If the
/lr back command doesn't work, ensure you have the flatworlds.teleport permission
- If translations appear incorrect, check your
config.yml language setting
- If a world fails to load, check the server console for error messages
- For inventory issues, try using
/lr getitems to retrieve items from other worlds
Configuration
The plugin creates several configuration files:
config.yml - Main configuration settings
worlds.yml - World data and settings
previous-worlds.yml - Stores previous world data for the /lr back command
locale/en.yml and locale/ru.yml - Language files
评论 0
登录后参与评分
还没有评论,来抢沙发吧