Jump to content

/WSet: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 5: Line 5:
|uses=/WSet <WorldName> <Property> <Value>
|uses=/WSet <WorldName> <Property> <Value>
|cat=World
|cat=World
|perm=ManageWorlds
|perm={{rperm|ManageWorlds}}
|console=Yes
|console=Yes
|v=0.620
|v=0.620
Line 12: Line 12:


==<code>/WSet <WorldName> Hidden [True|False]</code>==
==<code>/WSet <WorldName> Hidden [True|False]</code>==
:Allows hiding worlds from the [[/Worlds]] list. Hidden worlds can still be [[/Join|joined]] normally. Set to <code>true</code> or <code>1</code> to hide, to <code>false</code> or <code>0</code> to unhide (default). This flag used to be set using [[/WHide]] and [[/WUnhide]] commands.
:Allows hiding worlds from the {{perm|Worlds}} list. Hidden worlds can still be [[/Join|joined]] normally. Set to <code>true</code> or <code>1</code> to hide, to <code>false</code> or <code>0</code> to unhide (default).
:Prior to fCraft 0.620, this functionality was available through two separate commands: <code>/WHide</code> and <code>/WUnhide</code>.
:Prior to fCraft 0.620, this functionality was available through two separate commands: <code>/WHide</code> and <code>/WUnhide</code>.


==<code>/WSet <WorldName> Greeting <Text></code>==
==<code>/WSet <WorldName> Greeting <Text></code>==
:Sets a greeting message. Message is shown whenever someone joins the map, and can also be viewed in [[/WInfo]]. If no text is given, the greeting is removed.
:Sets a greeting message. Message is shown whenever someone joins the map, and can also be viewed in {{cmd|WInfo}}. If no text is given, the greeting is removed.


==<code>/WSet <WorldName> Backups Default</code>==
==<code>/WSet <WorldName> Backups Default</code>==
Line 27: Line 27:
:Specifies a backup interval. Times should be given in the [[Time formatting|compact format]]. Note that backups are only done whenever the map is saved, so this value is constrained by the [[List_of_config_keys#Saving_and_Backup|SaveInterval]] config key.
:Specifies a backup interval. Times should be given in the [[Time formatting|compact format]]. Note that backups are only done whenever the map is saved, so this value is constrained by the [[List_of_config_keys#Saving_and_Backup|SaveInterval]] config key.


{{LastUpdated|1575}}
{{LastUpdated|1650}}

Revision as of 02:33, 22 August 2012

Command
WSet

Changes world settings.

Usage

/WSet <WorldName> <Property> <Value>

CategoryWorld
Required permissionsManageWorlds
Usable from console?Yes
Introduced infCraft 0.620

Allows changing some of worlds' settings. Allows hiding/unhiding worlds, setting/changing/removing the greeting message, and controlling backup settings.

/WSet <WorldName> Hidden [True|False]

Allows hiding worlds from the Worlds list. Hidden worlds can still be joined normally. Set to true or 1 to hide, to false or 0 to unhide (default).
Prior to fCraft 0.620, this functionality was available through two separate commands: /WHide and /WUnhide.

/WSet <WorldName> Greeting <Text>

Sets a greeting message. Message is shown whenever someone joins the map, and can also be viewed in /WInfo. If no text is given, the greeting is removed.

/WSet <WorldName> Backups Default

Sets the world to use default backup settings. DefaultBackupInterval config key provides the defaults.

/WSet <WorldName> Backups Off

Turns backups off on the given world, regardless of default settings.

/WSet <WorldName> Backups

Specifies a backup interval. Times should be given in the compact format. Note that backups are only done whenever the map is saved, so this value is constrained by the SaveInterval config key.