New !! List can use Display name, Shortname or Item ID.
Note: Other plugins that GIVE items will probably not be compatible with this one.
Overview :
- Configurable time between when Non admin players can use the F1 spawn buttons. Set to zero to remove the timer. Help prevent a lot of spamming of commands to have some time.
- Allows players to give themselves Items using the F1 Console Items to spawn items just like Admins.
- Allow Lists will only allow player to spawn what is in that corresponding List if player has that permission
- Black Lists will allow player to spawn anything, BUT what is on the Blacklist if player has that permission.
- Block Admins from using the F1 Spawn all together !!
** Players are NOT given any admin/mod rights/permissions what so ever. **
By default, Admin/Mods are not effected. But config option to make them effected as well.
Permissions:
f1spawn.allowall - allows user to spawn all items via F1 Item Spawn.
f1spawn.allowlist1 - allows user to spawn only spawn items on Allow List 1.
f1spawn.allowlist2 - allows user to spawn only spawn items on Allow List 2.
f1spawn.blacklist1 - allows user to spawn all items but items on Blacklist 1.
f1spawn.blacklist2 - allows user to spawn all items but items on Blacklist 2.
Recommend giving player only 1 permission.
Order of How the Plugin checks if Player can Spawn Item with F1: (In order of precedence)
1. If player has Auth LVL 2 or admin / dev tag, they bypass the checks (unless set to not bypass in config) (not effected by quantity checks)
2. If Player has Auth LVL 1 or Mod tag, they bypass checks (unless set to not bypass in config) (not effected by quantity checks)
3. If Player has the f1spawn.allowall permission, they are allowed to spawn anything (still effected by quantity checks)
4. If Player has the f1spawn.allowlist1 permission, they can spawn anything on Allow List 1 (still effected by quantity checks)
5. If Player has the f1spawn.allowlist2 permission, they can spawn anything on Allow List 2 (still effected by quantity checks)
6. If Player has the f1spawn.blacklist1 permission, they can spawn anything NOT on Black List 1 (still effected by quantity checks)
7. If Player has the f1spawn.blacklist2 permission, they can spawn anything NOT on Black List 2 (still effected by quantity checks)
Config Entries can be either Item Short name, Display name or Item ID. And you can mix and match in the same list.
Example : "grenade.beancan" vs "Beancan Grenade" vs "1840822026". any of them is fine.
Really useful for Creative / Build servers, or if you need someone to help build without giving them admin permissions.
Default Blacklist Config
Code:
{
"Bypass checks if Admin ? ": true,
"Bypass checks if Moderator ? ": true,
"Enable Debug Log to show F1 Spawn usage ? ": true,
"Disable the 1000 quantity button ? ": false,
"Disbale the 100 quantity button ? ": false,
"Blacklist 1 Items : ": [
"Satchel Charge",
"Timed Explosive Charge"
],
"Blacklist 2 Items : ": [
"Beancan Grenade",
"F1 Grenade"
],
"Allowed list 1 Items : ": [
"Hammer",
"Building Plan"
],
"Allowed list 2 Items : ": [
"Wood",
"Stones"
],
"Delay Time between F1 spawn command usage : ": 1.0
}