Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
/ RandomTools Public archive

Spigot plugin for some random operations)

Notifications You must be signed in to change notification settings

hevav/RandomTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hevav's RandomTools

Version: 0.0.5
Spigot plugin to give random items from the command or from the kits
Native Spigot Version: 1.16.1
TESTED on 1.12.2 and 1.16.1
Download

Tools

Random Give

  • Simplest use, give items from the command: /rgive <player> <limit> <item 1 id> <item 2 id...>
  • You can set give center and radius(in the center you get more items) /rgivecenter [radius]
  • ...or disable this feature /rgivecenter dis
  • You can create a kit to make it simpler: /rkitadd <name> <item 1 id> <item 2 id...>
  • This command creates a kit with all items without : /rkitadd <name> -<item 1 id> <item 2 id...>
  • And give that kit: /rkit <player> <kit name> <limit>
  • ...or loop that kit: /rkitloop <player> <kit name> <limit> <interval>
  • ...stop all loops: /rkitloop dis
  • To remove a kit use this command: /rkitremove <kit name>

Kits are located in the config.

Random teams

  • To start, you need to create teams: /rteamcreate [limit]
  • Then you can use operations for the teams: /rteam [id] [operation]
  • And you can remove teams...: /rteamremove

Operations:

  • Teleport to executor: tp

id:

  • Sequence number of a team, starting from 1
  • %n+m to randomly divide teams by n starting from m.
  • * for all teams.