/WSet: Difference between revisions
Appearance
constants cannot be used |
No edit summary |
||
| Line 16: | Line 16: | ||
==<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 {{cmd|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. | ||
==<code>/WSet <WorldName> Backups Default</code>== | ==<code>/WSet <WorldName> Backups Default</code>== | ||
Revision as of 19:00, 29 August 2012
| Command | |
| WSet Changes world settings. | |
|---|---|
| Usage |
/WSet <WorldName> <Property> <Value> |
| Category | World |
| Required permissions | ManageWorlds |
| Usable from console? | Yes |
| Introduced in | fCraft 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
trueor1to hide, tofalseor0to unhide (default). - Prior to fCraft 0.620, this functionality was available through two separate commands:
/WHideand/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.