Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| JailsAPI v1.0 release | 28.78 KB | Jun 28, 2021 | 1.17 | 22 | Download |
| JailsAPI v1.0 beta | 28.21 KB | Jun 26, 2021 | 1.17 | 13 | Download |
| JailsAPI v1.0 alpha | 27.93 KB | Jun 26, 2021 | 1.17 | 9 | Download |
Description
JailsAPI is a plugin which provides Jails system on the server. This plugin also has an API for other plugins to hook.

Commands:
/jails help – opens help page
/jails info – plugin info
/jails playerlist – list of jailed players
/jails list – list of jails
/jails reload – reload plugin
/jails create <name> – create new jail
/jails delete <name> – delete jail
/jails move <name> – move jail
/jails capacity <name> – jail capacity
/jails players <name> – jail capacity
/jails capacity <name> <number> – change jail capacity
/jail <name> <jail> <seconds> [reason] – jail player
/free <name> [reason] – free player
Permissions:
jailsapi.help
jailsapi.info
jailsapi.playerlist
jailsapi.list
jailsapi.reload
jailsapi.create
jailsapi.delete
jailsapi.move
jailsapi.players
jailsapi.capacity
jailsapi.setcapacity
jailsapi.jail
jailsapi.free
How to hook with JailsAPI:

How to use JailsAPI:

API functions:
- Create/Delete jails
- Jail/Free players
- Move jails
- Get/Change jail capacity
- Get all jailed players
- Get time left(milliseconds)
- Get players current jail
- Check if player is jailed
- Get jail location
- Get players in jail
- Get amount of players in jail
- Check if jail exists
Installation:
1) Download JailsAPI
2) Put JailsAPI.jar to your server's plugins folder
3) Restart your server
Get 0.05 TON 💎
Download

Add a comment