Jump to content

/WSet: Difference between revisions

From fCraft Wiki
Created page with "{{CommandBox |name=WSet |purpose=Changes world settings. |aliases= |uses=/WSet <WorldName> <Property> <Value> |cat=World |perm=ManageWorlds |console=Yes |v=0.620 |}} Allows editi..."
 
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
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
|}}
|}}
Allows editing of worlds' properties.
Allows changing some of worlds' settings. Allows hiding/unhiding worlds, setting/changing/removing the greeting message, and controlling backup settings. Unlike the greeting, announcements and {{cmd|Rules}} files, [[Constants]] cannot be used.


===/WSet <WorldName> Hidden [True|False]===
==<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 {{cmd|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>.


===/WSet <WorldName> Greeting <Text>===
==<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. [[Constants]] can be used in greetings. Players with {{perm|UseColorCodes}} permission can also use color codes.


===/WSet <WorldName> Backups Default===
==<code>/WSet <WorldName> Backups Default</code>==
:Sets the world to use default backup settings. [[List_of_config_keys#Saving_and_Backup|DefaultBackupInterval]] config key provides the defaults.
:Sets the world to use default backup settings. [[List_of_config_keys#Saving_and_Backup|DefaultBackupInterval]] config key provides the defaults.


===/WSet <WorldName> Backups Off===
==<code>/WSet <WorldName> Backups Off</code>==
:Turns backups off on the given world, regardless of default settings.
:Turns backups off on the given world, regardless of default settings.


===/WSet <WorldName> Backups <Time>===
==<code>/WSet <WorldName> Backups <Time></code>==
: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}}

Latest revision as of 19:00, 29 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. Unlike the greeting, announcements and /Rules files, Constants cannot be used.

/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. Constants can be used in greetings. Players with UseColorCodes permission can also use color codes.

/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.