CloudConsole
适用于 CloudConsole 2.1 及以上版本
这是什么
你是否曾想过远程访问服务器的控制台、聊天或玩家列表?也许你想查看服务器状态,却无法登录 Minecraft。有了 CloudConsole,你现在可以在任何拥有 Java 和互联网连接的机器上远程访问你的服务器。它拥有易于使用的界面和极其简单的设置流程,你可以将远程访问权限授予任何你希望的人,从而允许他们进行聊天、控制台操作,以及即将推出的玩家信息和插件管理功能。该插件通过终端界面提供聊天配置编辑功能,意味着你需要做的工作量极小。你真正需要做的只是确保所需的端口已开放,将 jar 文件放入文件夹中,并在游戏中首次设置时进行聊天即可。如果你喜欢这个插件,请花时间在 Bukkit 页面上留下评论,以便我们(ShadowCasted)了解你的想法和意见。如果你有任何建议,它们可能会被添加进去。
如何使用
首次设置
- 将插件下载到你的 plugins 文件夹中。
- 给自己授予 cloud.* 权限。此权限默认不对 OP 生效。如果你没有权限插件,则使用下载文件中包含的那个(说明见下文)。
- 启动服务器。这将生成一个设置文件。
- 输入命令 /cc terminal 以启动 CloudTerminal 界面。
- 从这里开始应该很简单。输入数字或你想要的选项的单词。请注意,带有删除线的功能尚未添加。
- 进入配置部分,并根据你的喜好进行编辑。
- 重新加载服务器,你就完成了设置。
编辑配置文件
- 使用命令 /cc terminal 启动 CloudTerminal。
- 进入 config(配置)。
- 如果你不确定设置项的含义,请先去 view(查看)。
- 如果你不确定每个选项的作用,请参阅下方(Bukkit 页面)的说明。
- 进入 edit(编辑)。
- 输入要编辑项的数字或文本。
- 输入新值。
- 重新加载服务器。
添加用户
- 使用命令 /cc terminal 启动 CloudTerminal。
- 进入 users(用户)。
- 进入 add(添加)。
- 按照说明操作。
- 确保用户名未被占用(区分大小写)。
- 注意密码是区分大小写的。
- 输入 PermList 以设置云权限列表。
- 是的,你必须手动输入所有权限。
- 注意如果未输入任何内容,则该用户将无法使用。
- 对于命令,如果你想获得所有命令可以输入 all,或者手动逐个输入。
- 如果你不输入任何命令,请注意该用户将无法使用控制台。
- 完成后,你将返回到 CloudTerminal 的用户部分。
- 你无需重新加载服务器。
移除用户
- 使用命令 /cc terminal 启动 CloudTerminal。
- 进入 users(用户)。
- 进入 remove(移除)。
- 用户名区分大小写。
- 如果你不确定用户的拼写或大小写,或者只是不确定用户是谁,请输入 list(列表)。
- 输入正确拼写和大小的名称。
- 系统会询问你是否要删除,并在让你输入 [delete] 之前多次确认。
- 应该会删除该用户。
- 如果用户在上次重新加载/启动后已登录,或当前正在登录,则需要重新加载服务器。
使用包含的权限实用工具插件
- 将其移动到你的 plugins 文件夹中。
- 启动服务器。
- 确保你是 OP。
- 使用方法:命令为 /give <username> permission <perm> 或 /give me permission <perm> 用于给自己授予权限。
- 对于用于所有操作的主要 Cloud 权限,请输入 /give me permission cloud.*
- 注意权限不会永久有效(我认为),因此当你重新加载服务器时,你将不再拥有该权限。
- 不要将此插件保留在服务器上,因为任何 OP 都可以授予自己任何权力,而 OP 默认没有 cloud.* 权限的原因正是因为它可能被滥用。
客户端
- 下载 CloudClient。
- 将其放置在你想要的位置。
- 启动它(它是一个可运行的 jar 文件)。
- 输入用户名、密码、IP 地址以及 CloudConsole 运行的端口。
- 如果你想保存登录信息,请点击 save login(保存登录)。它保存在与 Minecraft 相同的位置。
- 点击 Connect(连接)或 start(启动),具体取决于版本。
- 如果一切正确,客户端应该能够连接。
- 从 2.1 版本开始,ToggleButtons(切换按钮)用于隐藏和显示窗口。
- 如有任何问题,请在下方发帖。
所需内容
请下载 CloudClient,它将连接到你的服务器。任何希望远程连接到控制台的人都需要使用此 GUI(换句话说,没有它,CloudConsole 就毫无意义)。目前,CloudClient 是唯一可用的 CloudConsole 客户端,但很快,Android 客户端和轻量级基于终端的客户端也将推出。
命令
CloudConsole
| 命令 | 描述 | 权限 |
| /cc terminal | 允许访问 CloudConsole 界面 | cloud.terminal |
| /cc console | 允许访问 CloudConsole 界面 | cloud.terminal |
权限工具
| 命令 | 描述 | 权限 |
| /give <用户名> permission <权限> | 授予用户某项权限 | 只需为 OP(管理员) |
| /give me permission <权限> | 授予自己某项权限 | 只需为 OP(管理员) |
权限说明
| 权限 | 描述 | 包含子权限 |
| cloud.* | 授予所有权限的访问权 | cloud.terminal cloud.users.* cloud.server.* cloud.config.* |
| cloud.terminal | 允许在游戏终端中访问 CloudConsole | |
| cloud.users.* | 授予所有 cloud.users 相关权限 | cloud.users.list cloud.users.add cloud.users.remove |
| cloud.users.list | 允许查看所有用户列表 | |
| cloud.users.add | 允许添加用户 | |
| cloud.users.remove | 允许移除用户 | |
| cloud.server.* | 授予所有 cloud.server 相关权限 | cloud.server.start cloud.server.stop cloud.server.reload |
| cloud.server.start | 允许启动 CloudConsole | |
| cloud.server.stop | 允许停止 CloudConsole | |
| cloud.server.reload | 允许重载 CloudConsole | |
| cloud.config.* | 授予所有 cloud.config 相关权限 | cloud.config.view cloud.config.edit |
| cloud.config.view | 允许查看配置文件 | |
| cloud.config.edit | 允许编辑配置文件 | |
提交工单
在排查完所有问题后,请提交一份工单,按时间顺序列出所发生的情况。目前存在一些正在修复中的已知 bug,但了解所有问题会有所帮助。如果您希望反馈,或者遇到重大 bug/故障,请随时私信 MrAwellstein。请勿在评论区直接发布堆栈跟踪信息(冗长的错误日志);如果必须发布,请使用 BBCode 的 spoiler 标签隐藏内容,以免刷屏。
端口配置
如果您无法连接到插件,很可能是端口配置不正确。要为插件正确配置端口,请确保该端口已开放且未被占用。如果该端口正被其他应用程序(如 Minecraft)使用,请改用其他端口。在报告连接问题之前,请务必确认相关端口确实处于开放且未占用状态。CloudConsole 将附带一个端口检测工具(具体发布时间视文档更新情况而定)。
配置说明
请勿以任何方式手动编辑配置文件,除非是修改用户信息。如果是后者,阅读配置文件会很简单(例如密码字段即为 password,依此类推)。
关于 ThreadedRelease
这是一个测试设置,用于处理用户连接过多的情况。将其设置为 true 有助于缓解卡顿,但可能会导致一定的不稳定性(尽管不会太严重)。Threaded release 意味着当服务器已满时,新连接客户端的终止操作将在一个新进程中执行,从而避免主进程延迟。
更多帮助
即将推出
已知 Bug
当服务器重载时,已登录的客户端执行操作会导致程序冻结。
有任何问题?请在下方提问!
CloudConsole
THIS IS FOR CLOUDCONSOLE 2.1 AND ABOVE
What This Is
Have you ever wanted to remotely access console, chat, or your player list of your server? Maybe you want to check in on your server and you can't get on minecraft to do it. Well with CloudConsole, you can now remotely access your server anywhere on a machine with java and internet. With an easy interface to use, and a very easy setup, you can give remote access to anyone you want to, allowing chat, console, and soon player info and plugin management. This plugin features chat config editing through a terminal interface, meaning that the amount of work you need to do is minimal. All you really have to do is make sure your desired port is open, and drop the jar in your folder, and chat in game for first time setup. If you like the plugin, please take the time to leave a comment on the bukkit page so we (ShadowCasted) know your thoughts and opinions. If you have any ideas, they might just be added.
How To
First Time Setup
- Download the plugin into your plugins folder.
- Give yourself the permission cloud.*. This permission is not default to OP. If you don't have a permissions plugin then use the one included in the download (instructions below).
- Start the server. This will add a settings file.
- Enter the command /cc terminal to start the CloudTerminal interface.
- From here it should be simple. Type the number or the word of what you want. Note that things slashed out are not added yet.
- Make your way to the config, and edit it to your liking.
- Reload the server and you're done.
Editing The Config
- Start the CloudTerminal with the command /cc terminal.
- Go to config.
- Go to view if you are unsure of the settings.
- Look below (on the bukkit page) if you are unsure what everything does.
- Go to edit.
- Enter the number or enter the text of what you want to edit.
- Enter the new value.
- Reload the server.
Adding Users
- Start the CloudTerminal with the command /cc terminal.
- Go to users.
- Go to add.
- Follow the instructions.
- Make sure the username isn't already taken (case sensitive).
- Note the password is case sensitive.
- Enter PermList for the cloud perms list.
- Yes you have to type in all of them manually.
- Note if none is entered, then the user will be useless.
- For commands you can enter all if you want all commands, or enter each manually.
- If you enter no commands then note the user won't be able to use console.
- Once finished you will be redirected back to the user section of CloudTerminal.
- You do not have to reload the server.
Removing Users
- Start the CloudTerminal with the command /cc terminal.
- Go to users.
- Go to remove.
- Users are case sensitive.
- Enter list if you are unsure of the spelling or case sence of a user, or just unsure of the user.
- Enter the name with correct spelling and case sense.
- Should ask you if you want to delete and ask if you are sure several times before making you enter [delete].
- Should delete the user.
- Reload if the user has logged in since the last reload/start, or are currently logged in.
Using The Included Permission Utility Plugin
- Move it into your plugins folder.
- Start the server.
- Make sure you're OP.
- To use, the command is /give <username> permission <perm> or /give me permission <perm> for giving permissions to yourself.
- For the main Cloud Permission used for everything, enter /give me permission cloud.*
- Note that the permissions don't last forever (I think), so when you reload the server you shouldn't have the permission anymore.
- Do NOT leave this in your server, as any OP could grant themselves any power, and the reason why OPs don't have cloud.* by default is because it can be abused.
The Client
- Download CloudClient.
- Place it on your computer where you want.
- Start it (its a runnable jar).
- Enter the username, password, IP, and the port that CloudConsole is running on.
- Click save login if you want. saves in the same place minecraft does.
- Click on Connect (or start, depends on the version).
- If everything is correct then the client should connect.
- As of version 2.1, the ToggleButtons hide and show the windows.
- Any questions then post them below.
Needed
Please download CloudClient, which will connect to your server. This GUI will be needed for anyone who wishes to connect to your console remotely (in other words, without it, there's no point in CloudConsole). Currently, CloudClient is the only client available for CloudConsole, but soon, the Android client and the lightweight terminal based client will be made available.
Commands
CloudConsole
| Command | Description | Permission |
| /cc terminal | Allows Access To CloudConsole interface | cloud.terminal |
| /cc console | Allows Access To CloudConsole interface | cloud.terminal |
Permissions Utility
| Command | Description | Permission |
| /give <username> permission <perm> | Give a user a permission | just need to be OP |
| /give me permission <perm> | Give yourself a permission | just need to be OP |
Permissions
| Permissions | Description | Includes |
| cloud.* | Gives access to all permissions | cloud.terminal cloud.users.* cloud.server* cloud.config.* |
| cloud.terminal | Allows access to the CloudConsole in game terminal | |
| cloud.users.* | Gives access to all cloud.users permissions | cloud.users.list cloud.users.add cloud.users.remove |
| cloud.users.list | Allows viewing a list of all users | |
| cloud.users.add | Allows adding a user | |
| cloud.users.remove | Allows removing a user | |
| cloud.server.* | Gives access to all cloud.server permissions | cloud.server.start cloud.server.stop cloud.server.reload |
| cloud.server.start | Allows starting of CloudConsole | |
| cloud.server.stop | Allows stopping of CloudConsole | |
| cloud.server.reload | Allows reloading CloudConsole | |
| cloud.config.* | Gives access to all cloud.config permissions | cloud.config.view cloud.config.edit |
| cloud.config.view | Allows viewing of the config | |
| cloud.config.edit | Allows editing the config | |
Submitting Tickets
After you troubleshoot everything, post a ticket with a list of what happened in chronological order. There are some bugs and they are being worked on but it would be nice knowing all of them. Feel free to PM MrAwellstein if you want or if it is a major bug/glitch. Please do not post stack traces (large and long error logs) in the comments, or if you do use the bbcode spoiler to make it so the page isn't spammed.
Ports
If you cannot connect to the plugin, chances are the port is not configured correctly. To configure your port correctly for the plugin, make sure that the port is opened and unused. If the port is being used by another application, such as Minecraft, use another port. Make sure that the port in question is in fact open and unused before posting connection problems. A port checker tool will be (depending on when this is posted) released with CloudConsole.
Configuration
Please do NOT manually edit the configuration in anyway, except for possibly a user, which then if you do reading the config is simple (the field password would be password and so on).
About ThreadedRelease
A beta setting dealing with what happens when there are too many users connected. Setting to true can help with lag, but can be a bit unstable (not to badly though). Threaded release just means that termination of clients who connect when the server is full will be terminated in a new process, making it so that the main process doesn't get delayed.
More Help
Soon To Come
Known Bugs
Freeze up when a logged in client does an action when the server is reloaded.
Have any questions? Ask below!
评论 0
登录后参与评分
还没有评论,来抢沙发吧