1

Need help with mcMMO|Permissions.

AgentSwampy 11/2/16 7:03 am
495
11/3/2016 7:16 pm
Hey all,

Looking for a bit of help with something I want to add to my server but struggling to find a solution to. Would appreciate any input.

So pretty much I want to make it so that players can purchase mcMMO boosts from the server store to the entire server (people who are online).

I'm running mcMMO, PermissionsEX and MinecraftMarket.

So I'm wondering how would I sell, let's say, a 2 hour mcMMO boost to every player online and then revoke it after those two hours.

I know the permissions for boosts that I want are as follows:

- mcmmo.perks.xp.double
- mcmmo.perks.xp.double.acrobatics
- mcmmo.perks.xp.double.archery
- mcmmo.perks.xp.double.axes
- mcmmo.perks.xp.double.excavation
- mcmmo.perks.xp.double.fishing
- mcmmo.perks.xp.double.herbalism
- mcmmo.perks.xp.double.mining
- mcmmo.perks.xp.double.repair
- mcmmo.perks.xp.double.smelting
- mcmmo.perks.xp.double.swords
- mcmmo.perks.xp.double.taming
- mcmmo.perks.xp.double.unarmed
- mcmmo.perks.xp.double.woodcutting

- mcmmo.perks.xp.triple
- mcmmo.perks.xp.triple.acrobatics
- mcmmo.perks.xp.triple.archery
- mcmmo.perks.xp.triple.axes
- mcmmo.perks.xp.triple.excavation
- mcmmo.perks.xp.triple.fishing
- mcmmo.perks.xp.triple.herbalism
- mcmmo.perks.xp.triple.mining
- mcmmo.perks.xp.triple.repair
- mcmmo.perks.xp.triple.smelting
- mcmmo.perks.xp.triple.swords
- mcmmo.perks.xp.triple.taming
- mcmmo.perks.xp.triple.unarmed
- mcmmo.perks.xp.triple.woodcutting

- mcmmo.perks.xp.quadruple
- mcmmo.perks.xp.quadruple.acrobatics
- mcmmo.perks.xp.quadruple.archery
- mcmmo.perks.xp.quadruple.axes
- mcmmo.perks.xp.quadruple.excavation
- mcmmo.perks.xp.quadruple.fishing
- mcmmo.perks.xp.quadruple.herbalism
- mcmmo.perks.xp.quadruple.mining
- mcmmo.perks.xp.quadruple.repair
- mcmmo.perks.xp.quadruple.smelting
- mcmmo.perks.xp.quadruple.swords
- mcmmo.perks.xp.quadruple.taming
- mcmmo.perks.xp.quadruple.unarmed
- mcmmo.perks.xp.quadruple.woodcutting

I know how to do permissions regularly but not sure how to go about giving them to everyone online for 2 hours and then having them removed until someone else purchases. Again, I'm running MinecraftMarket as my purchase system.

Much appreciated for any input into the matter,
Thanks, AgentSwampy
Posted by
AgentSwampy
Level 1 : New Network
0

  Have something to say?

JoinSign in

2

AgentSwampy
11/03/2016 7:16 pm
Level 1 : New Network
FrozenFeverHey there!

I was facing a similar situation some time ago and went around it through timed permissions such as the one below. It should work for your case (replace essentials.fly with whatever permissions you want, edit the group and the time).

pex group default timed add essentials.fly 3600


Hope this works for you :>


Thank you This helped a lot!
1
FrozenFever
11/03/2016 8:10 am
Level 2 : Apprentice Miner
Hey there!

I was facing a similar situation some time ago and went around it through timed permissions such as the one below. It should work for your case (replace essentials.fly with whatever permissions you want, edit the group and the time).

pex group default timed add essentials.fly 3600


Hope this works for you :>
1

Welcome