Difference between revisions of "Server command"

From Pokémon 3D Wiki
Jump to navigation Jump to search
m
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
These are all the available command for normal and OP to use.
These are all the available command for Console, OP and User to use. ( See definition below )


== A General Note to all OP ( Must Read ) ==
== A General Note to all Master, OP and User ( Must Read ) ==
# Please do not misuse any command below. Some might break or close your server if you misuse it.
# Please do not misuse any command below. Some might break or close your server if you misuse it.
# Do not try out command that do not work properly such as " /weather 6 "
# [[User:Jianmingyong|jianmingyong]] is not '''RESPONSIBLE''' for your server if your OP member misuse any of those listed here.
# We are not '''RESPONSIBLE''' for your server if your OP member misuse any of those listed here.
# This command is updated as of v0.53
# Prevent chatting using /stop spaming please... this kind of command is BAD.
 


'''Important info / definition of certain things before we get started.'''
'''Important info / definition of certain things before we get started.'''
Line 15: Line 15:




For any Optional Argument, it will be engrave by a individual square bracket for example "<nowiki>[Str1],[Str2],[Str3],...</nowiki>"<br />
'''Availability:'''
For any Multiple Argument ( Either or ), it will be separated by the word "OR" for example "<nowiki>Str1,Int2,Int3,Int4,Int5 OR Str1,Int2,Int3</nowiki>"<br />
*Console ( The person who host the server )
*OP ( The Operator )
*User ( Normal Players )
 
Note: Those command that is only available to Console only can only be used inside the server application console. In Game will not work.
 


== Server Commands ==
== Server Commands ==
Line 26: Line 31:


{{ServerCommandTableV2|
{{ServerCommandTableV2|
{{ServerCommandV2|||{{ServerArgumentV2|ServerChat|Str|1|False||}}|To send server message to everyone.|{{ServerArgumentV2|ServerChat|Str|1|False||Input}}|OP}}
{{ServerCommandV2|kick||{{ServerArgumentV2|PlayerName|Str|1|False||}}|To kick someone out for your server or to remove any stuck player inside. |{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|stop|||To close the server launcher.||Master / OP}}
 
{{ServerCommandV2|restart|||To restart the server launcher by closing and then reopen again automatically.||Master / OP}}
 
{{ServerCommandV2|servermessage||{{ServerArgumentV2|Message|Str|1|False||}}|To change the server message when you are at the server login page.|{{ServerArgumentV2|Message|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|weather||{{ServerArgumentV2|WeatherID|Int|1|False||}}|To change the server weather.|{{ServerArgumentV2|WeatherID|Int|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|season||{{ServerArgumentV2|SeasonID|Int|1|False||}}|To change the server Season.|{{ServerArgumentV2|SeasonID|Int|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|whitelist|{{ServerArgumentV2|Boolean1|Str|1|False||}}|To Enable or Disable the whitelist feature.|{{ServerArgumentV2|Boolean1|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|blacklist|{{ServerArgumentV2|Boolean1|Str|1|False||}}|To Enable or Disable the blacklist feature.|{{ServerArgumentV2|Boolean1|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|add whitelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To add the player into whitelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|remove whitelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove the player into whitelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|toggle whitelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove or add the player into whitelist depending if it exist in the list.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|check whitelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To check if the player is in the whitelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master*}}
 
{{ServerCommandV2|list|add blacklist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To add the player into blacklist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|remove blacklist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove the player into blacklist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|Kick||{{ServerArgumentV2|PlayerName|Str|1|False||}}|To kick someone out for your server or to remove any stuck player inside. |{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|OP}}
{{ServerCommandV2|list|toggle blacklist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove or add the player into blacklist depending if it exist in the list.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|Stop|||To close the server launcher.||OP}}
{{ServerCommandV2|list|check blacklist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To check if the player is in the blacklist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master*}}


{{ServerCommandV2|Restart|||To restart the server launcher by closing and then reopen again automatically.||OP}}
{{ServerCommandV2|list|add operators|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To add the player into operators.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|Servermessage||{{ServerArgumentV2|ServerMessage|Str|1|False||}}|To change the server message when you are at the server login page.|{{ServerArgumentV2|ServerMessage|Str|1|False||Input}}|OP}}
{{ServerCommandV2|list|remove operators|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove the player into operators.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|Servermessage||{{ServerArgumentV2|ServerMessage|Str|1|False||}}|To change the server message when you are at the server login page.|{{ServerArgumentV2|ServerMessage|Str|1|False||Input}}|OP}}
{{ServerCommandV2|list|toggle operators|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove or add the player into operators depending if it exist in the list.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|Weather||{{ServerArgumentV2|WeatherID|Int|1|False||}}|To change the server weather.|{{ServerArgumentV2|WeatherID|Int|1|False||Input}}|OP}}
{{ServerCommandV2|list|check operators|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To check if the player is in the operators.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master*}}


{{ServerCommandV2|Season||{{ServerArgumentV2|SeasonID|Int|1|False||}}|To change the server Season.|{{ServerArgumentV2|SeasonID|Int|1|False||Input}}|OP}}
{{ServerCommandV2|list|add mutelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To add the player into mutelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}


{{ServerCommandV2|White||{{ServerArgumentV2|PlayerName|Str|1|False||}}|To allow someone to join for your server if the properties.dat is set to 1.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|OP}}
{{ServerCommandV2|list|remove mutelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove the player into mutelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
}}
 
{{ServerCommandV2|list|toggle mutelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To remove or add the player into mutelist depending if it exist in the list.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master / OP}}
 
{{ServerCommandV2|list|check mutelist|{{ServerArgumentV2|PlayerName|Str|1|False||}}|To check if the player is in the mutelist.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}|Master*}}


{{ServerCommandV2|pm||{{ServerArgumentV2|PlayerName|Str|1|False||}} {{ServerArgumentV2|Message|Str|2|False||}}|To chat privately and no one can know including OP.|{{ServerArgumentV2|PlayerName|Str|1|False||Input}}<br />{{ServerArgumentV2|Message|Str|2|False||Input}}|Master / OP / User}}


{{ServerCommandV2|allowop||{{ServerArgumentV2|AllowOP|Int|1|False||}} OR {{ServerArgumentV2|AllowOP|Bool|1|False||}}|To allow or disallow server to have OP.|{{ServerArgumentV2|AllowOP|Int|1|False||Input}}<br />{{ServerArgumentV2|AllowOP|Bool|1|False||Input}}|Master*}}


{{ServerCommandV2|say||{{ServerArgumentV2|Message|Str|1|False||}}|To chat globally to everyone as a server message.|{{ServerArgumentV2|Message|Str|1|False||Input}}|Master*}}


{| width="100%" style="background:#ddf; border: 5px solid #ccf; {{RoundV2|5|5|5|5}}"
{{ServerCommandV2|world|update||To update the server worldmap. ( Refresh command? )||Master / OP}}
|-
}}
|
{| width="100%" class="sortable" border=1 style="background-color:#ffffff; border: 1px solid #ddf; border-collapse:collapse; text-align:left;"
|- style="background-color:#ddf;"
! data-sort-type="text" | Command
! data-sort-type="text" | Description
! data-sort-type="text" | Availability
|-
| /blacklist <playername>
| To ban someone for your server
| For OP Only
|-
| /unlist blacklist <playername>
| To unban someone for your server. ( Warning: If you type " /unlist blacklist " only, game will crash and kick you out from server. )
| For OP Only
|-
| /mute <playername>
| To ban someone for chatting and using command in your server.
| For OP Only
|-
| /unmute <playername>
| To unban someone for chatting and using command in your server.
| For OP Only
|-
| /kick <playername>
| To kick someone out for your server or to remove any stuck player inside.
| For OP Only
|-
| /op <playername>
| To add someone as OP for your server.
| For OP Only
|-
| /deop <playername>
| To remove someone as OP for your server.
| For OP Only
|-
| /pm <playername> <message>
| To private chat someone in the server.
| For Normal User / OP
|-
| /whitelist <playername>
| To allow someone to join for your server ( Warning: If you use this command without whitelising yourself, you will be kicked out of the server and cannot enter the server. You need to edit the server property.dat => Whitelist back to 0. )
| For OP Only
|-
| /unlist whitelist <playername>
| To disallow someone to join for your server ( Warning: If you use this command without whitelising yourself, you will be kicked out of the server and cannot enter the server. You need to edit the server property.dat => Whitelist back to 0. )
| For OP Only
|-
| /weather <weather type in number>
| Clear = 0 Rain = 1 Snow = 2 Underwater = 3 Sunny = 4 Fog = 5 Thunderstorm = 6 ( DO NOT USE, NOT WORKING PROPERLY ) Sandstorm = 7 Ash = 8 Blizzard = 9 ( Warning: If you use this command but typing the weather value out of range, you will be kicked out of the server. )
| For OP Only
|-
| /season <season type in number>
| Winter = 0 Spring = 1 Summer = 2 Fall = 3 ( Warning: If you use this command but typing the season value out of range, you will be kicked out of the server. )
| For OP Only
|-
| /stop
| To close the server entirely. ( Warning: If you use this command or someone use it, all player will not be able to connect anymore until the host open the launcher again. )
| For OP Only
|-
| /<your message here>
| To send server message to everyone.
| For OP Only
|}
|}

Latest revision as of 19:29, 23 April 2017

These are all the available command for Console, OP and User to use. ( See definition below )

A General Note to all Master, OP and User ( Must Read )

  1. Please do not misuse any command below. Some might break or close your server if you misuse it.
  2. jianmingyong is not RESPONSIBLE for your server if your OP member misuse any of those listed here.
  3. This command is updated as of v0.53


Important info / definition of certain things before we get started.

By Default, the Argument Types are:

  • Str ( Str are define as letters or symbols )
  • Int ( Int are define as Integer numbers )
  • Bool ( Bool are define as words such as True, False )


Availability:

  • Console ( The person who host the server )
  • OP ( The Operator )
  • User ( Normal Players )

Note: Those command that is only available to Console only can only be used inside the server application console. In Game will not work.


Server Commands

Server Commands are commands that tells the game what to do. It comes with / .

The table below is split into sections by Command.
You may use the sort feature to make it list according to alphanumeric order.


Command [/Command Subcommand Argument Types] Description Inputs [Argument Types = Argument Name] Availability
/kick Str1 To kick someone out for your server or to remove any stuck player inside. Str1 = PlayerName
(Player Name.)
Master / OP


/stop To close the server launcher. Master / OP


/restart To restart the server launcher by closing and then reopen again automatically. Master / OP


/servermessage Str1 To change the server message when you are at the server login page. Str1 = Message
(Message that you want to chat on.)
Master / OP


/weather Int1 To change the server weather. Int1 = WeatherID
(Clear = 0, Rain = 1, Snow = 2, Underwater = 3, Sunny = 4, Fog = 5, Thunderstorm = 6, Sandstorm = 7, Ash = 8, Blizzard = 9)
Master / OP


/season Int1 To change the server Season. Int1 = SeasonID
(Winter = 0, Spring = 1, Summer = 2, Fall = 3)
Master / OP


/list whitelist Str1 To Enable or Disable the whitelist feature. Str1 = Boolean1
(Enable or Disable.)
Master / OP


/list blacklist Str1 To Enable or Disable the blacklist feature. Str1 = Boolean1
(Enable or Disable.)
Master / OP


/list add whitelist Str1 To add the player into whitelist. Str1 = PlayerName
(Player Name.)
Master / OP


/list remove whitelist Str1 To remove the player into whitelist. Str1 = PlayerName
(Player Name.)
Master / OP


/list toggle whitelist Str1 To remove or add the player into whitelist depending if it exist in the list. Str1 = PlayerName
(Player Name.)
Master / OP


/list check whitelist Str1 To check if the player is in the whitelist. Str1 = PlayerName
(Player Name.)
Master*


/list add blacklist Str1 To add the player into blacklist. Str1 = PlayerName
(Player Name.)
Master / OP


/list remove blacklist Str1 To remove the player into blacklist. Str1 = PlayerName
(Player Name.)
Master / OP


/list toggle blacklist Str1 To remove or add the player into blacklist depending if it exist in the list. Str1 = PlayerName
(Player Name.)
Master / OP


/list check blacklist Str1 To check if the player is in the blacklist. Str1 = PlayerName
(Player Name.)
Master*


/list add operators Str1 To add the player into operators. Str1 = PlayerName
(Player Name.)
Master / OP


/list remove operators Str1 To remove the player into operators. Str1 = PlayerName
(Player Name.)
Master / OP


/list toggle operators Str1 To remove or add the player into operators depending if it exist in the list. Str1 = PlayerName
(Player Name.)
Master / OP


/list check operators Str1 To check if the player is in the operators. Str1 = PlayerName
(Player Name.)
Master*


/list add mutelist Str1 To add the player into mutelist. Str1 = PlayerName
(Player Name.)
Master / OP


/list remove mutelist Str1 To remove the player into mutelist. Str1 = PlayerName
(Player Name.)
Master / OP


/list toggle mutelist Str1 To remove or add the player into mutelist depending if it exist in the list. Str1 = PlayerName
(Player Name.)
Master / OP


/list check mutelist Str1 To check if the player is in the mutelist. Str1 = PlayerName
(Player Name.)
Master*


/pm Str1 Str2 To chat privately and no one can know including OP. Str1 = PlayerName
(Player Name.)
Str2 = Message
(Message that you want to chat on.)
Master / OP / User


/allowop Int1 OR Bool1 To allow or disallow server to have OP. Int1 = AllowOP
(Allow = True OR 1, Disallow = False OR 0)
Bool1 = AllowOP
(Allow = True OR 1, Disallow = False OR 0)
Master*


/say Str1 To chat globally to everyone as a server message. Str1 = Message
(Message that you want to chat on.)
Master*


/world update To update the server worldmap. ( Refresh command? ) Master / OP