Sueta

[zPoints System] Points system for your users! (1.7-1.15)

1.0.0

Points system for your users! (1.7-1.15)

·Plugin

zPointsSystem-Banner.png

Commands.png
[] = Opcional
<> = Required

/Points [Player]
/Points <Set> <Player> <Amount>
/Points <Take> <Player> <Amount>
/Points <Give> <Player> <Amount>
/Points <Reset> <Player>
/Points <Help>
/zPointsSystem <Reload>
/zPointsSystem <Help>

Permissions.png
zpointssystem.points - For /Points
zpointssystem.points.others - For /Points [Player]
zpointssystem.points.set - For /Points <Set> <Player> <Amount>
zpointssystem.points.take - For /Points <Take> <Player> <Amount>
zpointssystem.points.give - For /Points <Give> <Player> <Amount>
zpointssystem.points.reset - For /Points <Reset> <Player>
zpointssystem.points.help - For /Points <Help>
zpointssystem.reload - For /zPointsSystem <Reload>
zpointssystem.help - For /zPointsSystem <Help>

Files.png

settings.yml
Start-Points-Balance   :  0 
 
Messages  :  
    Points  :  
        Me   :   "&fPoints: &b{points}&f."   
        Other   :   "&f{player}'s Points: &b{points}&f."   
    Pay  :  
        Sender   :   "&fYou paid &b{points} &fpoints to &b{player}&f."   
        Receiver   :   "&fYou received &b{points} &fpoints from &b{player}&f."   
        No-Pay-Yourself   :   "&cYou can't pay yourself."   
    Set  :  
        Set   :   "&fYou have set the &b{player} &fpoints to {points}&f."   
    Take  :  
        Take   :   "&fYou have take &b{points} &fpoints from &b{player}&f."   
    Give  :  
        Give   :   "&fYou have gave &b{points} &fpoints to &b{player}&f."   
    Reset  :  
        Reset   :   "&fYou have reset &b{player} &fpoints."   
    Reload  :  
        Reload   :   "&b&lzPointsSystem &fhas been reloaded."   
    zPointsSystem-Help  :  
        Help   : 
         -  ""  
         -  "&b&lzPointsSystem &fHelp"  
         -  ""  
         -  " &f[] &bOptional"  
         -  " &f<> &bRequired"  
         -  ""  
         -  " &b/Points [Player] &8- &fSee your points or those of other players"  
         -  " &b/Points <Pay> <Player> <Amount> &8- &fPay points to other players"  
         -  " &b/Points <Set> <Player> <Amount> &8- &fSets the amount of a player's points to the specified"  
         -  " &b/Points <Take> <Player> <Amount> &8- &fTake the points amount specified from the player"  
         -  " &b/Points <Give> <Player> <Amount> &8- &fGive the points amount specified to the player"  
         -  " &b/Points <Reset> <Player> &8- &fReset the player points"  
         -  " &b/Points <Help> &8- &fShow the points help"  
         -  " &b/zPointsSystem <Reload> &8- &fReload the zPointsSystem plugin"  
         -  " &b/zPointsSystem <Help> &8- &fShow the zPointsSystem help"  
         -  ""   
    Points-Help  :  
        Help   : 
         -  ""  
         -  "&b&lPoints &fHelp"  
         -  ""  
         -  " &f[] &bOptional"  
         -  " &f<> &bRequired"  
         -  ""  
         -  " &b/Points [Player] &8- &fSee your points or those of other players"  
         -  " &b/Points <Pay> <Player> <Amount> &8- &fPay points to other players"  
         -  " &b/Points <Help> &8- &fShow the points help"  
         -  ""   
    Error  :  
        No-Permission   :   "&cNo permission."   
        Player-Null   :   "&c{target} not is online."   
        Usage   :   "&cUsage: {command}"

Developer API.png
1.Add zPointsSystem to your plugin library

2.In order to obtain the different methods do the following:

ZPointsSystem zPointsSystem  =   new  ZPointsSystem  (   )   ;  
PointsManager pointsManager  =   new  PointsManager  (  zPointsSystem  )   ;

Methods:

ZPointsSystem zPontsSystem  =   new  ZPointsSystem  (   )   ;  
PointsManager pointsManager  =   new  PointsManager  (   )   ;  

 //Get Player points amount  
pointsManager.  getPlayerPoints   (  player  )   ;  

 //Withdraw points from the player  
pointsManager.  withdrawPoints   (  player, amount  )   ;  

 //Deposit points to the player  
pointsManager.  depositPoints   (  player, amount  )   ;  

 //Set the points to the player  
pointsManager.  setPoints   (  player, amount  )   ;

Donors.png
» None

★★★★★

Similar projects

Plugin →