QLottery currently only guarantees to support Spigot and Bukkit1.21 on the current version of the plugin. Other versions may work, but there is no guarantee.
Commands
/ql ticket buy <amount>: Allows the player to purchase <amount> of tickets. The max amount of tickets a player can buy in a draw cycle is set in the config file.
/ql ticket sell <amount>: Allows the player to sell <amount> of tickets. The player can only sell the tickets they have, of course.
/ql pool amount: Tells the user how much money is currently in the pool. The pool amount is the amount of money that will end up being paid out when the lottery draws.
/ql stats: Tells the player server and player statistics regarding QLottery (Total amount paid out, total tickets purchased, etc.)
/ql ticket cost: Tells the player how much a ticket costs prior to purchasing one.
/ql tickets: Tells the player how many tickets they currently own.
Permissions
qlottery.ticket.buy: Needed to use /ql ticket buy <amount> command
qlottery.ticket.sell: Needed to use /ql ticket sell <amount> command
qlottery.pool.amount: Needed to use /ql pool amount command
qlottery.ticket.count: Needed to use the /ql tickets command
qlottery.ticket.cost: Needed to use the /ql ticket cost command
qlottery.stats: Needed to use the /ql stats command
qlottery.*: Base QLottery permission
qlottery.ticket: Base ticket subcommand permission
qlottery.pool: Base pool subcommand permission
Extras
QLottery is fully configurable. The rest of the configuration documentation is in the config.yml file generated in your plugins folder of your server.