Sueta
RA

Raffle (Simple Giveaway System)

1.3.7

...

·Plugin


Hey, guys. I am draww, this is my first project in Spigot
of course the sequel will come.
let's examine the plugin.


this plugin allows you to raffle on your server. you can personalize the plugin for yourself. We have included 3 raffle systems (Level, Exp, Money) you can add more by yourself. if you report a errors, it will be resolved.

Currently supported: All versions (1.8.x - 1.12.2)

Main Command: /raffle
Main Permission: raffle.*
/raffle help - information about raffle commands - raffle.help
/raffle start <type> <data> - Starting a raffle - raffle.start
/raffle stop - Stop the raffle - raffle.stop
/raffle types - types of Raffles - raffle.types
/raffle reload - Reloads the all systems - raffle.reload

config.yml
configversion: 1
custom.yml
CustomRaffles:
  example:
    name: example1
    datatype: 'Numeral'
    time: 5
    disabledGroups:
    - Owner
    predicate:
    - '#Script#[IF]$arg1.type=NUMBER'
    - '#Script#[IF]%player%==Draww'
    - '#Script#[IF]$arg1==5 [ElseAction] [Message] example1'
    - '#Script#[IF]$math($arg1 + 5 - 1 + 1)==6.0 [ElseAction] [Message] example2;[Message] example3'
    actions:
    - '[Broadcast] %prefix% &7Hello, &a%player%'
    - '[Broadcast] %prefix% &7Your World, &a%player_world%'
    - '[Broadcast] %prefix% &7Example, &6$math($arg1 + 1)'
    - '#PlayerOptions#(addItem)DIAMOND_SWORD:1'
language.yml
prefix: '&8[&aRaffle&8] &7'

only-game-command: 'you can only do it from the game.'
not-authorized-command: 'you are not authorized to perform this command.'
missing-command: 'Command was entered missing.'
already-continue: 'there''s already a raffle going on.'
no-ongoing: 'There''s no Raffles right now'
not-met-conditions: 'You don''t meet the conditions'

starting-raffle: 'Starting the raffle.'
started-raffle: 'The raffle started!'
stopped-raffle: 'The raffle stopped!'
disabled-raffle: 'This raffle is disabled!'
raffle-identified: 'This raffle is not identified.'
no-such-raffletype: 'No such raffle type.'
winner-raffle: '&7Winner: &6&l{0}'
determine-counter: '&d&llast {0} seconds to determine the lucky one.'
given: '&6The player {0} &7a &a{1} Level &7was given'

permissionsex-not-depend: 'PermissionsEx not dependent'
reload: 'All systems reloaded and restored!'


Actions are functions that can be run after certain conditions are met, they can be commands, items, sounds, etc. There is an extensive list of actions that can be performed.
Click here for more detailed information


Currently, this resource doesn't need any hard dependencies. But of course, you could add dependencies

Vault (Economy):
If you want to give money to players
https://dev.bukkit.org/projects/vault
https://www.spigotmc.org/resources/vault.34315/

PermissionsEx (Group Managment):
if you don't want to give it to some players when raffled
https://dev.bukkit.org/projects/permissionsex

PlaceholderAPI
For having custom placeholders for other plugins!
https://www.spigotmc.org/resources/placeholderapi.6245/


Help:

Types:

Reload:

Raffle:

Similar projects

Plugin →