ModsJava
SS-Permissions
Java mod listed for Minecraft 1.7–1.12. Download on the author's site.
⬇ Download on SpigotThis is a very simple permissions plugins that was made just because I felt like it. In case you didn't know, the SS comes from my username StarShadow.
It is mainly focused on the developer side, for insanely easy hooking and managing. The framework is extremely flexible, made for easy changes and additions, but still able to provide a powerful system for permissions. Every action has a callback to the main object, meaning any changes you make are effective immediately. It also has full tab completion, so it is easy to insert groups/permissions into commands.
How to Use:
A very detailed explanation of the plugin and its commands/permissions can be found in the README .
Developers:
There are some examples to get started:
If there are any examples you think should be added/changed, just let me know.
This plugin requires at least Java 8 to run.
I welcome feedback. Also, if you have any suggestions, you can comment, open an issue on the GitHub, or create a Pull Request. If you make a contribution to the project I will add you to the Contributors section.
It is mainly focused on the developer side, for insanely easy hooking and managing. The framework is extremely flexible, made for easy changes and additions, but still able to provide a powerful system for permissions. Every action has a callback to the main object, meaning any changes you make are effective immediately. It also has full tab completion, so it is easy to insert groups/permissions into commands.
How to Use:
A very detailed explanation of the plugin and its commands/permissions can be found in the README .
Developers:
There are some examples to get started:
If there are any examples you think should be added/changed, just let me know.
Spoiler: Code
Code (Text):
// The starting point is getting the API.
SSPermAPI api = SSPerm.getAPI();
// From there you can get the GroupManager or PlayerManager and manage them.
// Examples:
// Adding a permission to a player.
SSPlayer ssplayer = api.getPlayerManager().getPlayer(player); // Get the SSPlayer from a Player.
ssplayer.getPermissions().add("ssperm.manage.groups");
// Player now has permission.
// Moving a player into a group.
Optional<Group> op = api.getGroupManager().getGroup("admin"); // Uses the Java 8 Optional.
if (op.isPresent()) { // Check if the group exists.
Group group = op.get();
group.addPlayer(player);
// Player is now in group, and has all its permissions.
}
// Setting a player's namecolor
SSPlayer ssplayer = api.getPlayerManager().getPlayer(player); // Get player
ssplayer.getSettings().setNameColor(ChatColor.AQUA);
// Player's namecolor will now appear in chat as aqua.
SSPermAPI api = SSPerm.getAPI();
// From there you can get the GroupManager or PlayerManager and manage them.
// Examples:
// Adding a permission to a player.
SSPlayer ssplayer = api.getPlayerManager().getPlayer(player); // Get the SSPlayer from a Player.
ssplayer.getPermissions().add("ssperm.manage.groups");
// Player now has permission.
// Moving a player into a group.
Optional<Group> op = api.getGroupManager().getGroup("admin"); // Uses the Java 8 Optional.
if (op.isPresent()) { // Check if the group exists.
Group group = op.get();
group.addPlayer(player);
// Player is now in group, and has all its permissions.
}
// Setting a player's namecolor
SSPlayer ssplayer = api.getPlayerManager().getPlayer(player); // Get player
ssplayer.getSettings().setNameColor(ChatColor.AQUA);
// Player's namecolor will now appear in chat as aqua.
This plugin requires at least Java 8 to run.
I welcome feedback. Also, if you have any suggestions, you can comment, open an issue on the GitHub, or create a Pull Request. If you make a contribution to the project I will add you to the Contributors section.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SS-Permissions is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 1,485 times (via Spigot). Download it and open it directly in the game.