Summary
Functions
BuildCPanel(panel)client
Builds the tool's settings panel: the mode, the name, the message, the password, the share of slots to fill and the category of the items to fill with.
Methods
ApplyMode(trace, reset)shared
Runs the handler of the selected mode on the container that was hit.
LeftClick(trace)shared
Applies the selected mode to the container the owner is looking at.
RightClick(trace)shared
Removes what the selected mode sets from the container the owner is looking at: its name, its message or its password.
Functions
Builds the tool's settings panel: the mode, the name, the message, the password, the share of slots to fill and the category of the items to fill with.
Parameters
- panel Panel the tool's control panel
Methods
Runs the handler of the selected mode on the container that was hit. Serverside only.
Parameters
- trace Map trace result of the tool owner's aim
- reset Boolean true to remove what the mode sets instead of setting it
Returns
- Boolean true if the container was changed, false if it was not, nil if the owner lacks the 'manage_containers' permission
Applies the selected mode to the container the owner is looking at.
Parameters
- trace Map trace result of the tool owner's aim
Returns
- Boolean true if the container was changed (always true clientside), false if it was not, nil if the owner lacks the 'manage_containers' permission
Removes what the selected mode sets from the container the owner is looking at: its name, its message or its password.
Parameters
- trace Map trace result of the tool owner's aim
Returns
- Boolean true if the container was changed (always true clientside), false if it was not, nil if the owner lacks the 'manage_containers' permission