PointsAPI (Economy, Points) Integration #670

  • New
Assigned to filoghost
  • _ForgeUser19646825 created this issue Aug 3, 2016

    Hey! Can you add a integration for PointsAPI (http://mine-home.net/product?id=14 or https://www.spigotmc.org/resources/pointsapi.13957/)? If the site is not working or is not displaying anything, here the things, that you can use in that API:

    PointsAPI points = (PointsAPI) Bukkit.getPluginManager().getPlugin("PointsAPI");
    // Add points
    points.addPoints(player, 1000);

    // Remove points
    points.removePoints(player, 20);

    // Display points
    int i = points.getPoints(player);

    // Event that is called when someone's points are changing
    @EventHandler(priority = EventPriority.NORMAL)
    public void onPointsChange(PointsChangeEvent e){
      // The player that gets the points change
      Player p = e.getPlayer();
      // New value
      int points = e.getPoints();
      // Cancel event

    It would be VERY cool if you can integrate this in any form in your plugin, so I and many other people can use it!

    ~ MrJonton01

  • _ForgeUser19646825 added the tags New Enhancment Aug 3, 2016
  • _ForgeUser19646825 edited description Aug 8, 2016
  • _ForgeUser19646825 posted a comment Aug 8, 2016

    Updated link

To post a comment, please login or register a new account.