// Place this in any server script
const commandMap = {
"kubejs": { // This will restrict the /kubejs command to
"permissionLevel": 2, // Only be usable by players with perm levels higher than 2 (op)
"stage": "stage_name", // Only runnable if the player has the stage called "stage_name"
"dimension": "minecraft:overworld" // Only work when ran in the overworld
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
A configurable script which allows packdevs to impose certain limitations on players running commands. Made by Tazz, packaged for KJSPKG.
License
gcatkjspkgs/command-restrictor
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A configurable script which allows packdevs to impose certain limitations on players running commands. Made by Tazz, packaged for KJSPKG.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published