Skip to content

Instantly share code, notes, and snippets.

@jonstvns
Last active August 29, 2015 13:56
Show Gist options
  • Save jonstvns/8793252 to your computer and use it in GitHub Desktop.
Save jonstvns/8793252 to your computer and use it in GitHub Desktop.
Commands
/raffle [duration] [OPTIONAL:maxEntries] ["item1:amount"] ["item2:amount"] ... ["itemN:amount] [OPTIONAL:"password"]
Starts a new raffle
Unlimited item arguments
Without arguments, a raffle will have a duration of 20 seconds with unlimited entries and no prizes
Available to users with the canRaffle flag, canRaffleAdmin flag, and server admins.
/joinraffle ["playerName"] [OPTIONAL:"password"]
Joins the specified player's raffle
If no arguments, you will join all public raffles
Available to all users
/endraffle ["playerName"]
Ends the current raffle immediately
Available to the raffle owner, users with the canRaffleAdmin flag, and server admins.
/cancelraffle ["playerName"]
Cancels the current raffle
Available to the raffle owner, users with the canRaffleAdmin flag, and server admins.
Examples
/raffle
Duration = 20 (default)
Max Entries = unlimited (default)
No prizes
No password
/raffle 10 "itemA:20" "money:3000"
Duration = 10
Max Entries = unlimited (default)
20 itemA and $3000 for econ plugin
No passworld
/raffle 10 5 "itemA:5" "itemB:5" "itemC:5" "itemD:5" "mySecretPass"
Duration = 10
Max Entries = 5
/raffle 25 "invalidItem:3"
Error: Command rejected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment