hurtworld吧 关注:8,237贴子:95,006
  • 14回复贴,共1

HurtWorld 【控制台指令】提供给各位服主参考

只看楼主收藏回复

以下是GM和玩家在按下F1,在控制台都可输入的指令:
connect<ip>Connect to a server at a specified IP, with the default port (12871) connect 192.168.0.1
connect<ip>:<port>Connect to a server at a specified IP, with the specified port connect 192.168.0.1:1287
killUSE WITH CAUTION. Commit suicide. kill
以下是仅GM可用指令:
host<port>Hosts a game on the default map, and specified port. Loads the autosave if there is one. host 12871
host<port> <map>Hosts a game on the specified map, and specified port. Loads the autosave if there is one. host 12871 Desert
host<port> <map> <save>Hosts a game on the specified map, and specified port. Loads the specified savegame (relative to the .exe and without an extension) host 12871 Desert mysave
maxplayers<num>Specify the maximum number of players maxplayers 60
servername<name>Set the name of the server, as visible in the server browser. servername My Server
changelevel<levelName>Change, or reload the level. changelevel Desert
creativemode<val>Turn creative mode on and off (free build). Value as 0 for off, 1 for on. creativemode 1
kick<guid> <reason>Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them. kick f422 Being a jerk
saveserver<saveName>Save the server state to file, in the .exe directory. Can be loaded (see loadserver) saveserver mySave
loadserver<saveName>Load the server state from file, relative to the .exe directory. loadserver mySave
changegameid<guid>Change the game id (used by server browser). Must supply a valid GUID.


IP属地:北京1楼2015-12-14 13:43回复
    host<port>Hosts a game on the default map, and specified port. Loads the autosave if there is one.host 12871
    host<port> <map>Hosts a game on the specified map, and specified port. Loads the autosave if there is one.host 12871 Desert
    host<port> <map> <save>Hosts a game on the specified map, and specified port. Loads the specified savegame (relative to the .exe and without an extension)host 12871 Desert mysave
    maxplayers<num>Specify the maximum number of playersmaxplayers 20
    servername<name>Set the name of the server, as visible in the server browser.servername My Server
    changelevel<levelName>Change, or reload the level.changelevel Desert
    creativemode<val>Turn creative mode on and off (free build). Value as 0 for off, 1 for on.creativemode 1
    kick<guid> <reason>Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them.kick f422 Being a jerk
    saveserver<saveName>Save the server state to file, in the .exe directory. Can be loaded (see loadserver)saveserver mySave
    loadserver<saveName>Additively load the server state from file, relative to the .exe directory.loadserver mySave
    addadmin<playerid>Adds a player as admin to the local server for the current session onlyaddadmin 179673BE-B868-C1A4-4F87-0341FD852002
    queryport<port>Specifies the port to use for communication with the master server, this port must be publicly accessible for the server to show up in the game browser. Default is 12881.queryport 12882
    quitQuits the game immediately.quit
    quit<time>Quits the game after <time> seconds. Will show a nice message to all clients every 30 seconds, for 5 minutes before the server shuts down.quit 86400
    ---- ADMIN COMMANDS FOR CLIENT ----
    itemlist<name filter>Shows a list of all items in game (some of them still in development) with item codesitemlist bow
    g<code> <count>Gives you an item based on item code, be careful with this, if you give yourself too many they will spew onto the ground and lag the serverg 52 100
    g<name> <count>Gives you <count> of every item thats name contains the string <name>g ore 255
    rcon<command>Executes a command on the server as if it was typed directly into its console
    spawn<prefabname>This will spawn any networked object 2 meters in front of you. Full list of prefabs coming soonspawn AITokarServer or spawn sandstorm
    refreshaiDestroys all creatures and resource nodes in the world
    teleport<who> <toplayer>Specified by full name, will take player A directly to player Bteleport spencer dazzler


    IP属地:北京2楼2015-12-14 13:45
    收起回复
      干啥的也不说。。
      ------沒錯,我就是1%的wp10用戶,碰見我是你的幸運😆


      IP属地:安徽来自WindowsPhone客户端3楼2015-12-14 13:55
      回复
        只有两个字,天书


        来自Android客户端4楼2015-12-14 17:01
        回复
          解释一下啊


          IP属地:福建来自Android客户端5楼2015-12-15 09:20
          收起回复
            看不懂啦啦啦


            IP属地:安徽6楼2015-12-19 00:10
            回复
              不会用格式啊


              IP属地:辽宁7楼2015-12-19 21:53
              回复
                马克!


                IP属地:河北8楼2015-12-19 21:55
                回复
                  表示游侠版本不能用give


                  9楼2015-12-21 02:10
                  回复
                    我就想问一下如何开私服,我想自己玩当当GM


                    IP属地:黑龙江10楼2016-02-15 22:37
                    回复
                      有没有指令可以发系统消息 而不是聊天框输入消息


                      11楼2019-12-25 21:50
                      回复
                        能不能像rust一样设置自动跑步


                        IP属地:浙江12楼2019-12-26 16:32
                        回复