c0de 0.6.0 for NeoForge 26.1.2
Curse Maven Snippet
What's new
Security: passwords and keys out of sight.
- Hidden input: INPUT has the new parameter
hide; laptops and tablets then show*for what is typed and***for the typed line. - Hidden items: variable, constant and literal items can hide their value for good ("Hide the value" in their dialog). Only the trash can removes it. A parameter filled by a hidden item, and WRITE of a sensitive value, stay hidden.
- Sensitive values: the tag
security: "sensitive"on variables, constants and struct elements makes the debugging tool and the program runner show***instead of the value. - The vault: every player has a vault of secrets while they are online. The new SECRET block reads a secret like a constant. A program can only use the vault of the player who started it, and only if that player owns its sheet.
- c0de/security: a new library with SET_SECRET, DELETE_SECRET, HAS_SECRET, CREATE_VAULT, OPEN_VAULT, HAS_VAULT and IS_VAULT_OPEN.
- Persistent vault: secrets can be kept in a KeePass file (KDBX 4) per player. The server stores it, but only the game of the player opens it, with a password that is typed in a dialog and never leaves the game. The files open in KeePass and KeePassXC.
- Error codes: VAULT_UNAVAILABLE (314) to VAULT_FAILED (321).
- Program runner: the options file can give the program a vault (see docs/runner.md).
- Block data: GET_BLOCK returns the data of a block (the items of a chest, the text of a sign) as SNBT in its new result
data, and PLACE_BLOCK takes it in its new parameterdata. - MOVE_ITEMS works for every owner who could open both inventories.
countis optional (default 1, -1 for all), and instead ofidit takes afilter(item IDs or a search like in JEI). It takes time: one stack per tick for each 128 blocks. The settingsenableMoveItems,moveItemsStacksPerTickandmoveItemsBlocksPerTickconfigure it. - COMMAND: a new function of c0de/minecraft runs a command like a command block, for administrators (setting
enableCommand). - Regular expressions: REGEX_MATCH and REGEX_REPLACE in c0de/strings, with replacements and flags like sed.
- Beta: from this version on, c0de is published as a beta instead of an alpha.
- Handbooks without Patchouli: the guide and the six handbooks are part of c0de and work on every Minecraft version and both loaders. Each one is a red binder with a label of its own colour, crafted from a book and the same item as before, in English and German. The book screen and its Markdown are based on Lavender and lavender-md (MIT, see NOTICE.md). Every player gets the guide binder once, also players who got the Patchouli guide before. c0de no longer uses Patchouli.
- Fixed: the trash can icon of the item dialogs was drawn in the wrong place on Minecraft 1.21.11 and later.
- Tag dialog: the language button shows only the language (
securityinstead ofLanguage: security). - Fixed: c0de for Fabric 1.21.1 reported the version 0.1.0 in C0DE_VERSION and in the log.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects