|

楼主 |
发表于 28-6-2011 07:06 PM
|
显示全部楼层
本帖最后由 poisonsoup 于 28-6-2011 07:15 PM 编辑
下载并覆盖进terraria folder
Terraria-API
http://dl.dropbox.com/u/29760911/TerrariaServerAPI.rar
下載壓縮檔裡的檔案解壓縮放在 Terraria 資料夾(X:\Program files\Steam\steamapps\common\Terraria),取代官方"TerrariaServer.exe"檔案。
Tshock plugin
https://github.com/TShock/TShock/archives/master
壓縮檔裡的"Newtonsoft.Json.dll"放在 Terraria 資料夾(X:\Program files\Steam\steamapps\common\Terraria),
"TerrariaServer.exe"、"TerrariaServerAPI.dll"有的話就不用取代,
"TShockAPI.dll"就要放在 "serverplugins"資料夾裡,
使用"TerrariaServer.exe"開啟伺服器。
第一次開啟會產生"tshock"資料夾裡面有"bans.txt"(黑名單)、
"whitelist.txt"(白名單)、"cheaters.txt"(作弊者名單)、
"grief.txt"(破壞者名單)、"config.json"(伺服器設定檔)、
"users.txt"(使用者群組權限設定)、"groups.txt"(群組權限設定)、
"motd.txt"(伺服器歡迎語),banitem.txt(禁止物品)
在進入伺服器後,按 Enter 輸入"/help"會出現命令說明。
TShock Wiki : https://github.com/TShock/TShock/wiki (使用说明)
功能特色:
Kick(踢除)
Ban(黑名單)
簡單的作弊偵測會自動 Ban(黑名單)
防止爆裂物破壞者
立即重生所有的 Boss
召喚任何三大 Boss
在遊戲內重新載入設定檔案
啟動 Bloodmoon(血月)模式
掉下流星
啟動 Invasion(入侵)模式
看誰是在伺服器上
'config.json"伺服器設定值檔案格式說明 :
{
"InvasionMultiplier": 50, 《--入侵常數(哥布林入侵的幾率)
"DefaultMaximumSpawns": 4, 《--最大怪物產生數量
"DefaultSpawnRate": 700, 《--怪物產生速率(越小刷怪越快)
"ServerPort": 7777, 《--伺服器 Port
"EnableWhitelist": false, 《--啟用白名單
"InfiniteInvasion": false, 《--無限哥布林入侵
"AlwaysPvP": false, 《--強制 PvP
"KickCheaters": true, 《--踢除作弊玩家
"BanCheaters": true, 《--Ban 作弊玩家(標準下邊有)
"KickGriefers": true, 《--踢除破壞者(一次摧毀20個以上塊狀物(主要由丟爆裂物造成)的玩家)
"BanGriefers": true, 《--Ban 破壞者(一次摧毀20個以上物塊(主要由丟爆裂物造成)的玩家)
"BanKillTileAbusers": true, 《--Ban 濫用TNT或Exploits的玩家
"KickKillTileAbusers": true, 《--踢除濫用TNT或Exploits的玩家
"BanExplosives": true, 《--Ban 濫用Bomb或Dynamite的玩家
"KickExplosives": true, 《--踢除濫用Bomb或Dynamite的玩家
"DisableExplosives": true, 《--禁用爆炸物
"SpawnProtection": true, 《--出生點指定範圍內保護
"SpawnProtectionRadius": 5 《--出生點保護的具體範圍
"DistributationAgent": "facepunch", 《--Distributation 代理?
"MaxSlots": 8, 《--最多限定玩家數
"RangeChecks": true, 《--範圍檢查?
"SpamChecks": false, 《--廣告垃圾檢查
"DisableBuild": false, 《--禁止建造
"AdminChatRGB": [ 255.0, 0.0, 0.0 ], 《--管理員聊天字體顏色
"AdminChatPrefix": "(Admin) ", 《--管理員聊天註明
"PvpThrottle": 0, 《--PvP 控管
"BackupInterval": 0, 《--備份時間間隔
"BackupKeepFor": 60, 《--一定時間備份
"ListServer": false 《--?
"spawnTileX": 0, 《--重生點位置X軸方位
"spawnTileY": 0, 《--重生點位置Y軸方位
"RememberLeavePos": false 《--?
}
MOTD(motd.txt) 系統設定 : (伺服器歡迎語)
Each line is parsed and sent out in that order. If you use %map%, it will replace that with the name of your world. If you use %players%, it inserts the current player list.
If you would like to change the color of a specific line of text, prefix it like this:
%255,000,000%
This uses the RGB color system, so the values should be r,g,b in range of 0-255.
This will only work if inserted at the beginning of a line. Terraria doesn't support changing colors during transit.
The only other note is that you must fully complete a sequence so the total characters is 13. (25 becomes 025).
例 : "%255,000,000%Welcome to _1_, this server is being hosted in _2_."
1 = 地圖名稱
2 = Server Location
"bans.txt"(黑名單)、"whitelist.txt"(白名單)、"cheaters.txt"(作弊者名單)、
"grief.txt"(破壞者名單) :
"127.0.0.1|ID 名稱"
"users.txt"(使用者群組權限設定)格式說明 :
"127.0.0.1 superadmin"
權限等級及功能說明 :
目前可在"groups.txt"群組權限設定調整權限等級使用功能。
Default(預設)
無、讓玩家們使用水、岩漿、Warp
vip(貴賓)
有 Default(預設)的功能、伺服器保留位子。
newadmin(新管理員)
只能 Kick(踢除)、不能 Ban 玩家、改變怪物產生選項,伺服器保留位子。
admin(一般管理員)
能 Kick(踢除)、Ban 玩家,產生事件,產生 Boss,設定重生點,
tp傳送指令,不會被Kick(踢除),伺服器保留位子。
trustedadmin(受信任管理員)
有 admin(一般管理員)的功能,忽略作弊偵測,
維護 cfg(設定檔) cheat(作弊) PvP,不會被 Ban,忽略 Grief 偵測。
Grief : 是指破壞者或反社會人士。
superadmin(超級管理員)
完全權限。
以 TShock "groups.txt"群組文件為主。
"tiles.txt"說明 :
使用塊狀物 ID 十六進制(Hex)用於塊狀物忽略破裂檢查。
塊狀物 ID 十六進制(Hex)參考文件
關於線上命令 :
按 Enter 輸入"/help"會出現命令說明
請點選觀看圖片
請點選觀看圖片
命令列表 : ({}內為選填內容)
/kick {玩家名稱} 《--踢除指定玩家
/ban {玩家名稱} 《--Ban指定玩家
/off 《--關閉伺服器
/reload 《--重新讀取伺服器設定檔案
/dropmeteor 《--降下隕石
/star 《--降下星星
/bloodmoon 《--開啟血月模式
/eater 《--召喚世界吞噬者 Boss
/eye 《--召喚大眼球 Boss
/skeletron 《--召喚骷髏王 Boss
/hardcore 《--同時召喚3大 Boss 附加哥布林入侵
/invade 《--哥布林入侵
/save 《--強制伺服器儲存
/spawn 《--將玩家傳送回復活點
/tp {玩家名稱} 《--傳送到指定玩家身邊
/tphere {玩家名稱} 《--將指定玩家傳到自己身邊
/help 《--檢視可用命令列表
/password {要改變的密碼} 《-- 改變伺服器密碼
/item {ID或物品名稱} 《--製造物品(物品ID列表在下邊)註:此版本支援直接在後面輸入物品名稱代替ID
/give {ID或物品名稱} {玩家名稱} 《--製造物品給指定玩家(格式同上)
/spawnmob {NPC的ID或名稱} {數量} 《--召喚指定怪物或NPC(相對應的ID列表在下邊)註:此版本支援直接在後面輸入怪物或NPC的名稱代替ID
/heal {玩家名稱} 《--治癒指定玩家
/butcher 《--殺死附近所有不在城堡或房子裡的NPC
/maxspawns 《--調整同一時間的最大刷怪量
/spawnrate 《--調整刷怪率(越小刷怪越快)
/slap {玩家名稱} 《--使指定玩家掉血(預設5點傷害)
/kill {玩家名稱} 《--殺死指定玩家或自殺
/off-nosave 《--關閉伺服器並且不儲存最後的地圖資料
/protectspawn 《--觸發出生點指定範圍內保護功能(見config.json內的SpawnProtection項目說明)
NPC 名稱ID列表
https://github.com/TShock/TShock/wiki/NPC-List
物品名稱ID列表
https://github.com/TShock/TShock/wiki/Item-List |
|