Module core.plugins.tradingstickers.sv_init

Trading Stickers System

Module Overview

Functions

pMeta:GiveSticker(value) Function to give a player a number of stickers.
stickersClaim(ply, cmd, args) Function to claim card rewards.

Tables

PLUGIN.stickers List of sticker items
PLUGIN.rewards List of rewards.
PLUGIN.rewards.Membership Membership reward params.
PLUGIN.rewards.Money Money reward params.
PLUGIN.rewards.Items Item rewards.

Fields

PLUGIN.currentEvent Name of the current event

Functions

pMeta:GiveSticker(value)
Function to give a player a number of stickers.

Parameters:

  • value The number of stickers to give.
stickersClaim(ply, cmd, args)
Function to claim card rewards.

Parameters:

  • ply The player claiming stickers.
  • cmd The command being ran.
  • args The arguments sent.

Tables

PLUGIN.stickers
List of sticker items

Fields:

  • sticker_valentines21_lovearrow
  • sticker_valentines21_lovebow
  • sticker_valentines21_cocktail
  • sticker_valentines21_cupcake
  • sticker_valentines21_flower
  • sticker_valentines21_teddybear
PLUGIN.rewards
List of rewards.
PLUGIN.rewards.Membership
Membership reward params.

Fields:

  • min
  • max
PLUGIN.rewards.Money
Money reward params.

Fields:

  • min
  • max
PLUGIN.rewards.Items
Item rewards.

Fields:

  • alcohol
  • sunhat_1
  • cowboyhat_3

Fields

PLUGIN.currentEvent
Name of the current event