
checkot
“Create a mod that adds a new command /checkot <player> <player> is the online player "OT" is the original Trainer” After sending the command, the player's...
00—cobblemon-fabricServer1.21.1mod
checkot Mod Notes
What it does
- Adds the
/checkot <player>command on the server to open a read-only Cobblemon party viewer for any online player you have permission to inspect. - Each occupied party slot is rendered as a Pokemon item, complete with species, level, and a lore line that highlights the Original Trainer (OT) name when you hover your mouse over it.
- Empty party slots are clearly marked so you can immediately tell how many Pokemon the target currently carries.
Important details
- Only in-game players can run the command; attempting to use it from the console or command blocks simply returns an error message without opening a GUI.
- The viewer uses a locked chest-style interface: all slots outside the party display are filled with inert panes, and item transfers are disabled so nothing can be taken or inserted.
- Pokemon icons are generated with Cobblemon's
PokemonItem, so the UI reflects the target's current party data in real time when the command is executed.
Limitations / future ideas
- The interface is purely informational; it does not support scrolling through PC boxes or editing Pokemon details.
- OT data comes from the stored Pokemon record—if a Pokemon lacks OT metadata it will display as
Unknown. - Permissions are not restricted beyond the default Brigadier requirements; integrate with a permission system if you need finer-grained control over who can inspect other players.