- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
TShock
此页面源于Terraria Wiki,由于泰拉瑞亚没有插件百科,所以先暂时放到这里
TShock是一款能够给你的泰拉瑞亚服务器添加大量功能的软件,其功能有:
- 管理员系统
- 建筑保护
- 地标传送
- 支持插件,可使用更多的指令
- 修复了原版服务器的一些漏洞
- 在游戏中编辑世界设置
- 和其他特性
安装
1. 下载最新版本的 TShock Github下载
2. 如果你使用的Windows Vista或更新的版本,只需右键文件执行即可.
- 如果服务器没有开始, 或者你的Windows系统太旧, 你可以使用 7Zip (Free).
3.然后运行你从压缩包里解压出来的 TerrariaServer.exe 就可以开始TShock服务器了.
如果你使用的是Linux:
我们的某些版本包括错误的文件名.Several releases incorrectly include a directory named 'serverplugins'. On windows this causes no issues, but on Linux it is a massive problem. If you are experiencing issues related to tshock not starting or no auth-codes( see the following section ), please ensure that your serverplugin folder is called 'ServerPlugins'. If you run the server and get an error about a number needs to be between a min and a max then you need to delete the auth.lck file and restart TShock.
成为管理员
- 如果你没开服的话,先运行 TerrariaServer.exe 来启动你的服务器.
- 选择你想要使用的世界或创建一个新的世界.
- After selecting your world, you will be asked for input on 1 setting:Server port.
- Note: Default settings are: Server port (7777). You may hit your ENTER key at each input to select the default setting in parenthesis ().
- Once the server starts the console window will have the following message: To become superadmin, join the game and type /auth [authcode]
- Run Terraria.exe, join your server, and enter: /auth [authcode]. This will give you the ability to create a user account on the server, giving you access to all commands. This gives you one time super user access. This is intended to be used once at the very start and every subsequent admin operation is done under a superadmin account.
- Note: In order to join your own server, you can enter: localhost or 127.0.0.1 (which are the same thing - assuming the server is being run on the same machine that you run Terraria), or you can use your own External IP address, which can be found simply by going to a website such as whatsmyip.org
- Next, enter: /user add [username] [password] superadmin
- Example: /user add john qwerty superadmin
- This will add a user to your server that a player can log into, allowing them access to admin operations. This is intended for server owner only, do not give your account credentials out willy nilly.
- Log in with the superadmin user you just created by entering: /login [username] [password]
- Example: /login john qwerty
- Finally, to remove the "auth" message on server startup, enter: /auth-verify
- Note that this account is your server's superadmin account. It has immunity to most things, as well as access to everything that you can do via console. We do not recommend giving out the superadmin group to your users. Make a seperate group for them and give them the permissions that you want them to have. These instructions explain how to setup your server and get an account ingame so that you do not have to use the console window. If you wish to give your users groups, and make admins please see the following section. For an indepth walk through of all commands, please see the following guide. It is the definitive guide to 90% of the operation of TShock. Anything not listed there is a newer feature that has not been documented yet.
External links
List of Commands and Permissions