faction reset

Discussion in 'Spigot Plugin Development' started by meldeo, Mar 28, 2017.

  1. Hi im a novice developer and I was wondering how I would go on about making a faction reset plugin. This plugin will be used alongside massivecraft factiions and it will reset player balances,enderchest, and disband factions.
  2. You would need to hook into your faction plugins' api and fiddle around with its api
  3. The massive craft API can be used to disband the factions pretty easily, on their site look for the developers page.

    If you use vault for your economy their API allows you to mess with player balances, as does essentials API.

    The biggest hurdle will be finding all the players and going through them. As well as opening their ended inventory offline.

    Another way you could go about it is to wait until they log in after the reset, and if they do NOT have a permission say MapReset2017. Then when the log in do all of the above then give them the permission.

    Sent from my iPhone using Tapatalk
  4. im still having problems using the api to figure out how to get all factions and disband them at once
  5. Any solution? If so i would like to hear it because i want to know aswell.