I will use it on one group but I will be able to add the users with some rank some extra features, like more homes, some extra money, etc ā¦ so I ask and try to understand the ranks here. By Bukkit was it fully others.
Yes. Those are extra permissions, and thatās how parents work. For the money, youāll have to use an economy plugin just as in Bukkit. Homes shouldnāt be a problem if any plugin has done like Essentials did and implemented number of homes as a permission (for example: essentials.sethome.multiple.[keyword], where [keyword] is defined by you in the Essentials config).
Thank you Lemonous!!
Your EDIT was most helpful. I was able to get the ladder working, however there are a couple of things that I have discovered. When you add a rank at 0, 1, 2, etcā¦ The numeric order must remain. Example, if you add 0, 1, 2, then add your OP level group as level 10, anticipating that there will be a few other ranks youāll add later, it will not get added to the ladder.
Also, you can only have 1 ladder, so if you use the /pex rank default add 0 group0 command, your ladder will be called default. I was not able to add another ladder called random, or anything like that, you have to destroy the first ladder to create a new one. Makes sense though, since you shouldnāt need more than one ladder in a single world.
Thank you for the permission explanation as well, I also think it is backward, which is why I was confused, I didnāt see your reply before I posted that first one.
Now that my permissions are mostly in order, Iām ready to start adding other mods! Thank you all for the information and the help!
ALSO:
I had to reload pex after adding each rank of the ladder or the settings didnāt seem to apply.
Nice to see Pex being ported to Sponge.
Iāve tried the latest dev but couldnāt get the meaning of the command format. Is there some quick examples or a wiki explaining what āsubjectā means for Pex 2.0?
This might help too:
Hi there!
Iāve decided to make a sponge server yesterday and iāve got some issues with it.
Everything is discribed in movie that iāll post below but now iāll write about it.
Iāve installed a few plugins including pex which configuration after about 5 years with bukkit was damn hard especially because iāve wasted hour to find any command list for this one (editing permissions in server files looks werid compared to bukkitās pex) xD
ANYWAY after that all and a few servers restarts pex wont load. I mean i canāt find any error in console about pex loading but then when i try to use any pex command in console or on server it says there is no such a command.
I was a bit confused (maybe because it was 4th after midnight lol) and decided to end work on server for yesterday.
Today iāve tied installing any other pex version (ofc sponge version) but it wasnāt effective (everything is still like before)
^The video that i was talking about before. Looking for any help because i canāt play without bukkitlike plugins and my and my friends really want to run some mods on our server ;-;
Greetings!
I use this plugins, so I can use these extras, but I donāt know how to combine it with ranks. I have it now only set with groups, but I will use it with ranks too, if it possible.
For example: I have player who reach higher rank after reaching some conditions so I will give him some extras, like some money, add an extra home etcā¦
Server runs without errors, but after entering the game in the client writes an error: (pastebin)
(Sponge 1.8-1499-2.1DEV-630, plugins: SpongeEssentialCmds, TotalEconomy, Flexiblelogin, WorldEditForge, NEI, CodeChickenCore)
As far as I know, ranks in PEX only give more/fewer permissions, and perhaps a prefix/suffix. If you want to give more homes, you should see whether thatās possible with permissions (like Essentials did for Bukkit). PEX is not and has never been able to run commands for you automatically. You will most likely need something along the lines of the Bukkit plugin OnTime.
@Ekib: Try updating to a newer version of SpongeForge, looks like there was a change in player leave/join handling in Build 633. Iām not 100 % sure if thatās relevant, but Iād recommend updating either way
I use Essentials and economy and they add these as permissions to PEX.
But what I donāt know is how to use it in PEX with ranks.
The Ranks are fully new for me and donāt know how to use it with one group of player and permissions that are possible to set.
Good will be not only explanation, but to have the possibility to see the config file where are ranks set for one group and how they bring any changes to the group.
I donāt have time to make an example permissions file for you, but Iāll do my best to explain.
Say you have two groups, Group1 and Group2. You want Group1 to have access to more homes than Group1. To do this, you define two limits in the Essentials configuration file, for example lowlimit = 1 and highlimit = 10. You can then give these limits to the ranks by giving essentials.homes.multiple.lowlimit
to Group1 and essentials.homes.multiple.highlimit
to Group2. This way, anyone in Group1 will have a limit of 1 home, and anyone in Group2 will have a limit of 10 homes.
So far, so good, but this isnāt using ranks yet.
To use ranks, you make a rank ladder and add the two groups with the commands /pex rank [laddername] add Group1
and /pex rank [laddername] add Group2
, in that order. This will let you use the /pex promote [playername] [laddername]
command to move someone from Group1 to Group2, and /pex demote [playername] [laddername]
to move someone from Group2 to Group1. This promotion/demotion mechanic is the only thing ranking adds in relation to what you want (or, at least, how I understand that) - the rest is plain permissions and inheritance.
After sponge build 630 does not work the lever and buttonā¦ I have two servers, main, work on Sponge 1.8-1499-2.1DEV-630 and second for tests. Test server worked on latest Sponge! Now it is 1.8-1499-2.1DEV-642, it gives the same errorā¦
Anyone able to help me? Iām trying to add 5 groups but I really donāt understand what I have to do, itās my first time working with plugins. I want to learn all of this so I donāt need to keep asking for everything.
Examples (permissions.json): http://pastebin.com/5UnU9nkx
Examples (many groups): http://pastebin.com/8SAsJ8BG
Commands: Home Ā· PEXPlugins/PermissionsEx Wiki Ā· GitHub
All can be found in the first postā¦
I have now set fixed amount of homes for each group: āhomesā: ā10ā
If I understand you correctly, I need to set all in groups and then over ranks switch these groups?
And how works the homes limits? When I set in one group Lowlimit and in second group Highlimit, how it will be then added home for next rank? Is it possible to do all with one group?
Example:
I have groups: Player, Builder, Moderator, etcā¦
I will for group Player use these Ranks to reward the players there.
I will do 3 ranks: Player, Warrior and Captain and then I will add them these rewards:
Player - $100, 1 home
Warrior - $200, 2 homes
Captain - $500, 5 homes
Instead of "homes" = "10"
, that place in the config should contain:
"warrior" = "2"
"captain" = "5"```
And so on for all your ranks that you want to give more homes (If that gives an error, add a comma after "1" and "2")
Then you give Player the permission `essentials.homes.multiple.player`, and you gove Warrior the permission `essentials.homes.multiple.warrior` and so on for each of your ranks.
It is not possible to use PermissionsEX to give money. You must find another plugin for that.
The permissions should be added to the ranks section?
And when I put āplayerā = ā1ā how it will the system know that it goes to the homes?
it should looks like these than:
āgroupā: {
āPlayerā: [
{
āpermissionsā: {
ātpa.useā: 1,
ātpa.acceptā: 1,
ātpahere.useā: 1,
ātpadeny.useā: 1,
āminecraft.command.tpā: 1
},
āoptionsā: {
āplayerā = ā1ā,
āwarriorā = ā2ā,
ācaptainā = ā5ā,
āstartingbalanceā: ā100ā
}
}
.
.
.
"schema-version": 4,
"rank-ladders": {
"warrior": [
"index:2",
"group:Player",
"essentials.homes.multiple.warrior": 1
],
"captain": [
"index:3",
"group:Player",
"essentials.homes.multiple.captain": 1
],
"player": [
"index:1",
"group:Player",
"essentials.homes.multiple.player": 1
]
}
So that rank ladders section you posted is not exactly valid json, and also not correct for PEX. Take a look at https://github.com/PEXPlugins/PermissionsEx/blob/master/permissionsex-core/src/test/resources/ninja/leaping/permissionsex/backend/file/test3to4.post.json for an example of a simple permissions file.
Can anyone tell me if Iāve done anything wrong in the json? I think itās all good but Iām not exactly the best doing this http://pastebin.com/Cc7YmLuu