Repository navigation
ControlCore 0.10.0
Pre-release
Pre-release
Beta. Requires Hytale server 0.7.2 (>=0.7.2 <0.8.0). The API for other mods is now 2.0.0
(ControlCoreApi.VERSION): mods built against 0.9.0 must create settings with
SettingDefinition.server(modId, key, type, default) / player(modId, key, type, default) instead of
server("modid:key", ...). Saved values, setting ids and commands are unchanged; nothing on a server needs
migrating.
Added
- Mods tab for everyone (
/open-admin-configand/prefs): every mod and asset pack with logo, version,
authors, description, website and badges (asset pack, off, failed, on/off after restart). Search plus a filter
(mods, running, turned off, with settings or keys, with assets, everything incl. Hytale's own, hidden by default).
Settings / Keys buttons jump to that mod's rows. Admins can turn mods on or off from the next start
(saved inconfig.jsonMods; ControlCore and Hytale's own can't be turned off) and read a mod's JSON config
files (read-only). Pending mod changes join the restart reminder. - Mod logos compatible with Better Modlist and MAC:
Common/UI/Custom/<Group>_<Name>.pngin the mod's assets. /cc-config <mod>opens the panel on one mod's settings;/cc-modslists mods in chat/console.- Setting
controlcore:mods-hidden: mods players don't see in the Mods tab. - Setting types
SettingType.color()(colour picker plus hex field,#rrggbb) and
SettingType.textList(maxItems, maxItemLength)(items with Add/Remove). New settingcontrolcore:welcome-message-color, shown in the welcome message's row.
SettingDefinition.coloredBy(id)puts a colour setting in a text setting's row (one line, one Save and Default). - Sliders: whole-number and decimal settings with a range show a slider next to the text field (the server's
config included). Dragging shows the value in the field; letting go saves it. Ranges wider than 1,000,000 keep
only the field. - HUD preferences: players turn the game's HUD parts on and off in
/prefs(controlcore:hud.<part>); admins
set a rule per part (controlcore:hud-rule.<part>: players choose, hidden until turned on, always hidden, always
shown). - Hide the whole HUD with the key action
controlcore:toggle-hud(bind it in Keymaps). - HUD API (
ControlCoreApi.huds(),HudElement): mods register their HUD and getonShow/onHide;
ControlCore stores each player's choice and applies it on join.
Changed
- Breaking (API 2.0.0): settings are created like key actions, from a mod id and a key:
SettingDefinition.server("homes", "max-homes", type, default)(idhomes:max-homes). The single
server("homes:max-homes", ...)form is removed. - Headings in the panel and
/cc-settingsare<mod name>: <category>, or just the mod name when a setting
has no category. The mod name is the mod id capitalised (my-mod->My Mod) unless a mod sets one with
SettingsApi.setModName; key actions use the same names. ControlCore's own settings are under "ControlCore",
admins' own binds under "Custom binds".inCategoryis now only the group inside the mod.
Removed
- HyUI support (optional dependency
Ellie:HyUI, its HTML panel and the old HTML layouts). HyUI was never
compatible with Hytale 0.7, and its panel lacked everything added since; the built-in panel is always used.
Fixed
- Saving a text or number setting in the panel (or a change made elsewhere while the panel was open) no
longer loops until the server stops the page; this was never in a release. - Colour pickers read and set their
Colorproperty (settingValuedisconnected the client). - Mod logos set from the server use paths relative to
Common/UI/Custom/.