Jump to content

/WSet: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
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. Prior to fCraft 0.620, this functionality was available through two separate commands: <code>/WHide</code> and <code>/WUnhide</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.
: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>==

Revision as of 02:32, 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). This flag used to be set using /WHide and /WUnhide commands.
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.