Skip to content

a Foundry Virtual Tabletop module that adds a new setting to the game world called "Item to give to players".

Notifications You must be signed in to change notification settings

efmitchell/FoundryGiveAll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This addon defines a Foundry Virtual Tabletop module that adds a new setting to the game world called "Item to give to players". This setting allows the game master to specify the name of the item that players will receive when the /give chat command is used.

The addon also adds the /give chat command, which sends a message to the server using a socket connection. The server-side addon receives this message and gives all players an item with the name specified in the "Item to give to players" setting.

This addon adds a new button to the item sheet that appears when an item is right-clicked. When the button is clicked, it retrieves the name of the selected item, updates the game setting, sends a chat message indicating that the items are being given to all players, and then gives the specified item to all players who have a character in the game.

To use this addon, you will need to create a new module in Foundry Virtual Tabletop and paste the addon into the JavaScript file for the module. You can then enable the module in your game world and use the /give chat command to give all players the specified item.

About

a Foundry Virtual Tabletop module that adds a new setting to the game world called "Item to give to players".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •