• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

PK Ability Permissions

Status
Not open for further replies.

sean_amor

Verified Member
So I created a Leveling System with Heroes RPG, and the concept would work quite well, but I cannot seem to prevent players binding skills that I denied them. Example of permission below using Group Manager:

http://hastebin.com/jeguvukoha.avrasm

My goal was to deny the skills, then as they level up, Heroes grants them permission to use each skill.

-------------------------
PK:1.8 Beta 6
PK RPG: 1.0.2 Beta 1
PK Items: 1.1.3
CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
 

Simplicitee

Staff member
Plugin Developer
Verified Member
Absolutely! Also if this gets worked out others will be able to create a leveling system of there own, I see its a popular request.

Group Manager Perms
http://hastebin.com/tuxatakime.sm

Heroes Permission Skills
http://hastebin.com/uqehamaror.php

Heroes Firebender Class
http://hastebin.com/ecoqijusij.sm

Denizen Npc Script
http://hastebin.com/kifobajeke.xml
In your groupmanager file, try adding spaces so that it looks like how the permissions given by a skill are listed.
 

sean_amor

Verified Member
In your groupmanager file, try adding spaces so that it looks like how the permissions given by a skill are listed.
The issue of them having the permission happens before the heroes selection is even made.

For example if I move a player to the Firebender Perm Group, then ask them to try and bind Firejet, they can bind Firejet, and also use Firejet. Without having permission to do so.
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
The issue of them having the permission happens before the heroes selection is even made.

For example if I move a player to the Firebender Perm Group, then ask them to try and bind Firejet, they can bind Firejet, and also use Firejet. Without having permission to do so.
The permission is default. Did you negate it?
 

Simplicitee

Staff member
Plugin Developer
Verified Member
In your groupmanager file you have
permissions:
- perm
- perm

Listed like that, make it like
permissions:
- Perm
- perm​
 

sean_amor

Verified Member
In your groupmanager file you have
permissions:
- perm
- perm

Listed like that, make it like
permissions:
- Perm
- perm​
I did the perms based off this wiki site:
http://projectkorra.wikia.com/wiki/Commands_&_Permissions

So youre suggesting I try
- -Bending.Ability.FireJet
instead of
- -bending.ability.FireJet

I can try that out I wont know if it worked till after 5:30 US Central, but I will let you know if the issue is resolved by then.
Thanks!
 

sean_amor

Verified Member
Permission files dont generally have that many spaces, but its worth a try. Thanks
I think I found something useful
"default: true
make default -> default: OP)"

This is something I would edit within the pk's plugin config file, which would stop players from having bending abilities by default.
 

jedk1

New Member
I think I found something useful
"default: true
make default -> default: OP)"

This is something I would edit within the pk's plugin config file, which would stop players from having bending abilities by default.
Having abilities by default is permission based... you could easily sort this in a permissions plugin :p
 
Status
Not open for further replies.
Top