Co-Op Commands!

If you liked this item, please rate it up on Steam Workshop page.

Author: MINDS3T

Last revision: 20 Dec, 2021 at 23:15 UTC

File size: 346.11 KB

On Steam Workshop

Description:

This mod adds a set of commands that allow you to add and remove items from any player currently in the game.

The two commands:
giveplayer (aliases givep, gplayer, gp)
Usage: gp <player_id> <item_id> <count>

Gives the specified player the item, count amount of times. item_id works with anything you can give from the regular give command, modded items included! If you specify no parameters, then a list of player IDs and this usage syntax will be displayed.

removeplayer (aliases removep, rplayer, rp)
Usage: rp <player_id> [item_id] [count]

Removes the specified item from the player, count amount of times. item_id only works with collectibles, modded items included! If you specify no parameters, then a list of player IDs and this usage syntax will be displayed.

setstat (aliases sets, sstat, ss)
Usage: ss <player_id> [stat_id] [value]

Sets the specified stat_id of the player to value. If you specify no parameters, then a list of player IDs, stat IDs and this usage syntax will be displayed. These changes only persist until an item modifies the stat, then they revert to normal.

givestat (aliases gives, gstat, gs)
Usage: gs <player_id> [stat_id] [value]

Adds the specified value to the stat_id of the player. If you specify no parameters, then a list of player IDs, stat IDs and this usage syntax will be displayed.These changes only persist until an item modifies the stat, then they revert to normal.

If you have any issues, feedback or requests, feel free to drop a comment! I hope this helps your co-op experiences for when you realize an item is better for your co-player.