GameObject.mod
🟠 Updated over a year agoPreview

🔍 Analysis
- 🏆 #31 of 62 decoration mods in this game by downloads
📋 About This Mod
PaperMC plugin (for 1.21.4) for implementing "Game Objects", i. e. items/tokens that serve a specific purpose in an in-game game/event and therefore need/profit from special formatting or protection. ## Features This plugin supports the following features: ### Locking of Item Stacks Item Stacks (i. e. slots in your inventory) can be "locked" and "unlocked" with a secret key. Locking an item adds an NBT tag, so that other items (that do not have this NBT tag set) cannot stack with the locked items. This prevents stacking of items even if they have the same item type and the same other properties. This allows, for example, setting up an redstone item filter only selecting items locked with a specific secret key. The purpose of such locking is to prevent other players from forging game objects, unless they have been specifically authorized to do so by being given the secret key. You can **lock** the items of the item stack you are currently holding in your main hand ("currently held item stack") using the following command, where `<key>` is replaced with your secret key: ``` /go-lock <key> ``` You can **remove the lock** of the currently held item stack, if it is locked, using the following command, where `<key>` is again replaced with your secret key: ``` /go-lock <key> ``` ### Item Name Formatting You can add/clear formatting for the displayed item name of the currently held item stack. This will work just fine if you have previously renamed the item in an anvil. If you have not renamed the item in an anvil before, the plugin cannot know the correct item name for technical reasons and will attempt to "guess" it from the item id. In most cases, this produces a good-enough result to not be a problem, in all other cases, the item must be renamed after executing this command. The following command will **change the item name formatting** of the currently held item stack: ``` /go-format <option> <option> ... ``` You can provide an unlimited amount of formatting options separated by a space. They are applied in the order in which they are entered into the command. Formatting options are: 1. `clear` which will remove all previously applied formatting 2. `bold` and `italic` which will style the name bold or italic, respectively 3. the following colors: - `yellow`, - `red`, - `pink`, - `purple`, - `blue`, - `aqua`, - `green`, - `darkgreen`, - `white`, - `gray` or `grey`, - `black` 4. `magic` for a special "magic"-like hidden effect Executing this command does not clear previous formatting by default (unless `clear` is passed), so that passing two options is equivalent to executing the command with the first option and then executing it again with the second option. ### Item Lore You can add or update lore (=explanation) to an item, which will be displayed when hovering the item and may contain information about its origin, use or functionality. To **set the lore** for the currently held item stack, use the following command: ``` /go-lore <text> ``` To add a line break in the text, use two forward slashes (`//`). ### Custom Model Data It is also possible to set a (numeric) custom model data, which can be reacted to in a template. This allows overriding the default texture for an item limited to certain instances of it. Set the **custom model data** for the currently held item stack with the following command: ``` /go-custommodel <id> ``` ### Item Model Override Starting with MC 1.21.1 it is now possible to set a custom item model, such as "minecraft:diamond" which should be used instead of the default item model. Set the **item model override** for the currently held item stack with the following command: ``` /go-custommodel clear|<namespace>:<item> ``` ### Enchantment Glint Override Since Minecraft added a new structured component for enchantment glint overrides, it is now possible to make an item always have an enchantment glint (yes), to never have an enchantment glint (no) or to defer to the default values (auto). Set the **enchantment glint override** for the currently held item stack with the following command: ``` /go-glint yes|no|auto ``` Please note that the ID has to be a positive integral number. ### Save/Apply In order to ease batch operations, you can save the aforementioned game object details of an item stack and apply them to other item stacks. Each saved set of data will have a name under which it can be accessed later and it will be saved only for your user profile, i. e. other people cannot access it. To **save** the game object data of the currently held item stack, use the following command: ``` /go-save <name> ``` You must provide a name, which may only contain lowercase letters (`a`-`z`), numbers (`0`-`9`), underscores (`_`) and points (`.`). If the currently held item stack has been locked, you must provide the secret key, to prevent circumvention of the forgery protection. To **apply** save
PaperMC plugin (for 1. 21. 4) for implementing "Game Objects", i. e. items/tokens that serve a specific purpose in an in-game game/event and therefore need/profit from special formatting or protection.
## Features
This plugin supports the following features:
### Locking of Item Stacks
Item Stacks (i. e. slots in your inventory) can be "locked" and "unlocked" with a secret key.
Locking an item adds an NBT tag, so that other items (that do not have this NBT tag set) cannot stack with the locked items. This prevents stacking of items even if they have the same item type and the same other properties. This allows, for example, setting up an redstone item filter only selecting items locked with a specific secret key.
The purpose of such locking is to prevent other players from forging game objects, unless they have been specifically authorized to do so by being given the secret key.
You can lock the items of the item stack you are currently holding in your main hand ("currently held item stack") using the following command, where `
```
/go-lock
You can remove the lock of the currently held item stack, if it is locked, using the following command, where `
```
/go-lock
### Item Name Formatting
You can add/clear formatting for the displayed item name of the currently held item stack.
This will work just fine if you have previously renamed the item in an anvil. If you have not renamed the item in an anvil before, the plugin cannot know the correct item name for technical reasons and will attempt to "guess" it from the item id. In most cases, this produces a good-enough result to not be a problem, in all other cases, the item must be renamed after executing this command.
The following command will change the item name formatting of the currently held item stack:
``` /go-format
You can provide an unlimited amount of formatting options separated by a space. They are applied in the order in which they are entered into the command.
Formatting options are:
1. `clear` which will remove all previously applied formatting
2. `bold` and `italic` which will style the name bold or italic, respectively
3. the following colors:
- `yellow`,
- - `red`,
- - `pink`,
- - `purple`,
- - `blue`,
- - `aqua`,
- - `green`,
- - `darkgreen`,
- - `white`,
- - `gray` or `grey`,
- - `black`
4. `magic` for a special "magic"-like hidden effect
Executing this command does not clear previous formatting by default (unless `clear` is passed), so that passing two options is equivalent to executing the command with the first option and then executing it again with the second option.
### Item Lore
You can add or update lore (=explanation) to an item, which will be displayed when hovering the item and may contain information about its origin, use or functionality.
To set the lore for the currently held item stack, use the following command:
```
/go-lore
To add a line break in the text, use two forward slashes (`//`).
### Custom Model Data
It is also possible to set a (numeric) custom model data, which can be reacted to in a template. This allows overriding the default texture for an item limited to certain instances of it.
Set the custom model data for the currently held item stack with the following command:
```
/go-custommodel
### Item Model Override
Starting with MC 1. 21. 1 it is now possible to set a custom item model, such as "minecraft:diamond" which should be used instead of the default item model.
Set the item model override for the currently held item stack with the following command:
```
/go-custommodel clear|
### Enchantment Glint Override
Since Minecraft added a new structured component for enchantment glint overrides, it is now possible to make an item always have an enchantment glint (yes), to never have an enchantment glint (no) or to defer to the default values (auto).
Set the enchantment glint override for the currently held item stack with the following command:
``` /go-glint yes|no|auto ```
Please note that the ID has to be a positive integral number.
### Save/Apply
In order to ease batch operations, you can save the aforementioned game object details of an item stack and apply them to other item stacks.
Each saved set of data will have a name under which it can be accessed later and it will be saved only for your user profile, i. e. other people cannot access it.
To save the game object data of the currently held item stack, use the following command:
```
/go-save
You must provide a name, which may only contain lowercase letters (`a`-`z`), numbers (`0`-`9`), underscores (`_`) and points (`.`).
If the currently held item stack has been locked, you must provide the secret key, to prevent circumvention of the forgery protection.
To apply save
📊 Mod Details
- Game
- Minecraft Plugins
- Author
- luap42
- Version
- 1.4
- Downloads
- 230
- Endorsements
- 0
- Category
- decoration
- Created
- 5/11/2024
- Updated
- 1/21/2025
- Game Versions
- 1.21.4
- Tags
- decoration, game-mechanics, minigame
🔧 How to Install Minecraft Plugins Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Plugins →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Plugins versions does GameObject.mod support?
The author lists 1.21.4. Other versions may work but are untested by the author.
What is the latest version of GameObject.mod?
Version 1.4, published 2025-01-21 with 230 downloads recorded at the source.
Keep browsing — more Minecraft Plugins mods await