falkirks / RankUp

A comically full-featured prison rankup plugin for PocketMine-MP
MIT License
19 stars 49 forks source link

Question #21

Closed IsraAtGamings closed 6 years ago

IsraAtGamings commented 8 years ago

If a player are VIP than he/she is rankup How to make it not change to groups just prefix/suffix change i use pureperms and pure chat

Soory Bad english i am froom Indonesia

falkirks commented 8 years ago

Sorry, I can't understand what you mean. You can configure prefixes/suffixes inside pureperms.

Ifera commented 6 years ago

Use PureChat and PurePerms both along with RankUp and Slapper plugin as Slapper plugin adds /rca command which is necessary for setting prefix/suffix. Here is a sample code for better understanding on how to set them.

---
groups:
  A:
    entrance:
    - s •§a{name} §bRanked Up To §eA
    - setuperm {name} essentials.warps.A
    - warp A {name}
    - setuperm {name} pchat.command.setprefix
    - rca {name} setprefix A
    - unsetuperm {name} pchat.command.setprefix
    exit: []
    perms: []
    members: []

Same would be followed for setsuffix here is another example.

groups:
  A:
    entrance:
    - s •§a{name} §bRanked Up To §eA
    - setuperm {name} essentials.warps.A
    - warp A {name}
    - setuperm {name} pchat.command.setsuffix
    - rca {name} setsuffixA
    - unsetuperm {name} pchat.command.setsuffix
    exit: []
    perms: []
    members: []

But be sure to use Slapper plugin to add /rca command.

Ifera commented 6 years ago

@Falkirks this issue is now solved