MPoints icon

MPoints -----

Multi point economy that supports Bungeecord synchronization



Untitled-1.png

MPoints suspended support and planed to rewrite
Features
Up to 30 different points can be created in the server, and each point can be configured separately
Supporting MySQL to save player data, and synchronize data between Bungeecord servers.


Commands
  • Player Command
    • mpoints <pointname> balance - Displays your balance of point
    • mpoints <pointname> balance <player> - Displays <player>''s balance of point
    • mpoints <pointname> pay <player> <amount> - Pay <player> <amount> point
    • mpoints <pointname> balancetop - Displays TOP10
    • mpoints version - Display plugin version information

  • OP Command
    • mpoints list - List all points
    • mpoints <pointname> give <player> <amount> - give <player> <amount> point
    • mpoints <pointname> take <player> <amount> - take <amount> point from <player>
    • mpoints <pointname> set <player> <amount> - set <player>'s point to <amount>
    • mpoints <pointname> give * <all/online> <amount> <reason> - give <all/online player> <amount> point
    • mpoints <pointname> take * <all/online> <amount> <reason> - take <amount> point from <all/online player>
    • mpoints <pointname> set * <all/online> <amount> <reason> - set <all/online player>'s point to <amount>
    • mpoints <pointname> balancetop hide/display <player> - Hide or display a <player>''s data from TOP10
    • mpoints reload - Reload message.yml

  • Permission
    • mpoints.user.balance - Allows player to look up the balance of yourself and others
    • mpoints.user.balance.other - Allows player to look up the balance of others
    • mpoints.user.balancetop - Allows player to view TOP10 ranking
    • mpoints.admin.list - Allows player to list points
    • mpoints.admin.give - Allows player to give player balance
    • mpoints.admin.take - Allow player to take player balance
    • mpoints.admin.set - Allow player to set player balance
    • mpoints.admin.balancetop - Allow player to hide or display a <player>'s data from TOP10
Requirements
  • If MySQL version is higher than 8.0, DatabaseDrivers needs to be installed (Paper 1.17.X+ do not require this)
Configuration
Code (Text):
Settings:
  #Chinese ChineseTW English Spanish Polish
  language: English
  #Whether to check for new version
  check-update: true
  #Use MySQL or not
  mysql: false
  #TOP10 and the Server Total refresh time interval (Seconds)
  refresh-time: 300
  #Whether to enable cache correction
  #If you need to modify the data in the database directly, it is recommended to enable it
  #You need to note that cache-correction will not double verify the value of the amount in the process of deposit and withdraw
  #This function is not supported for non player account data
  cache-correction: false
  #Dose save transaction record
  #Only MySQL is supported
  transaction-record: true


#SQLite settings
SQLite:
  #Address is the folder path
  path: Default


#MySQL settings
MySQL:
  host: localhost:3306
  user: root
  pass: root
  database: data
  #auto add "_", can use %sign% to dicate Server ID (BungeeCord settings)
  table-suffix: ''
  encoding: utf8
  timezone: ''


#Connection pool settings
Pool-Settings:
  #use connection pool or not
  usepool: false
  maximum-pool-size: 10
  minimum-idle: 10
  maximum-lifetime: 180000
  idle-timeout: 60000


#BungeeCord settings
BungeeCord:
  #If you need to enable BC synchronization, please set in points.yml
  #After BungeeCord sync is turned on, the console and other plugins will not be able to modify the balance in the server without player
  #Please Set bungeecord to true in the spigot.yml
  #Server ID, keep the ID and the MySQL settings is the same between the servers requiring synchronization
  sign: aa
Code (Text):

#Support up to 30 points
demo1:
  setting:
    #Point sign, Please do not modify the currency mark after confirmation
    sign: demo1
    #Initial amount of point
    initial-bal: 0.0
    #Does the point enable ranking
    enable-baltop: true
    #Are players allowed to use the pay command
    allow-pay-command: true
    #Whether to enable BungeeCord synchronization
    enable-bungeecord: false
  display:
    #The name of points displayed
    singular-name: dollar
    plural-name: dollars
    #Is the balance an integer
    integer-bal: false
    #Thousand bit separator
    thousands-separator: ','
    #Display format
    display-format: '%balance% %currencyname%'
    #Maximum amount (default is maximum)
    max-number: '100000000000000000000000000'
  quick-command:
    #Whether to enable quick command
    enable: true
    #command name
    command: mpa
demo2:
  setting:
    sign: demo2
    initial-bal: 0.0
    enable-baltop: true
    allow-pay-command: true
    enable-bungeecord: false
  display:
    singular-name: dollar
    plural-name: dollars
    integer-bal: false
    thousands-separator: ','
    display-format: '%balance% %currencyname%'
    max-number: '100000000000000000000000000'
  quick-command:
    enable: false
    command: mpb
 
Code (Text):
prefix: '&6[MPoints]'
points_list: '&a%sign% -- %pointname%'
balance: '&a%pointname% Balance: %balance%'
balance_other: '&a%player%''s %pointname% balance: %balance%'
points_nosign: '&cThis sign doesn''t exist'
top_title: '&e========= %pointname% TOP10 ========='
sum_text: '&fServer Total - %balance%'
top_text: '&e%index%: %player% - %balance%'
top_subtitle: '&7TOP10 refreshed every 5 minutes'
top_nodata: '&cNo TOP10 data'
top_hidden: '&a%player% is hidden from %pointname% data'
top_displayed: '&a%player% is displayed from %pointname% data'
pay: '&cYou pay %player% %amount% %pointname%'
pay_receive: '&aYou receive %amount% %pointname% from %player%'
pay_fail: '&cYour %pointname% is less than %amount%'
pay_self: '&cYou can''t pay yourself'
noaccount: '&cTarget account does not exist'
invalid: '&cInvalid amount'
over_maxnumber: '&cThe target account amount over the maximum amount'
money_give: '&cYou give %player% %amount% %pointname%'
money_give_receive: '&aAdministrator give you %amount% %pointname%'
money_take: '&cYou take %amount% %pointname% from %player%'
money_take_fail: '&c%player%''s %pointname% is less than %amount%'
money_take_receive: '&cAdministrator take %amount% %pointname% from your account'
money_set: '&cYou set %player%''s %pointname% to %amount%'
money_set_receive: '&cAdministrator set your %pointname% to %amount%'
no_permission: '&cYou don''t have permission to use this command'
help_title_full: '&6=============== [MPoints] HELP <Page %page%> ==============='
help1: '&6mpoints <pointname> balance  -  Displays your balance of point'
help2: '&6mpoints <pointname> balance <player>  -  Displays <player>''s balance of point'
help3: '&6mpoints <pointname> pay <player> <amount>  -  Pay <player> <amount> point'
help4: '&6mpoints <pointname> balancetop  -  Displays TOP10'
help5: '&6mpoints version  -  Display plugin version information'
help6: '&6mpoints list  -  List all points'
help7: '&6mpoints <pointname> give <player> <amount>  -  give <player> <amount> point'
help8: '&6mpoints <pointname> take <player> <amount>  -  take <amount> point from <player>'
help9: '&6mpoints <pointname> set <player> <amount>  -  set <player>''s point to <amount>'
help10: '&6mpoints <pointname> give * <all/online> <amount> <reason>  -  give <all/online player> <amount> point'
help11: '&6mpoints <pointname> take * <all/online> <amount> <reason>  -  take <amount> point from <all/online player>'
help14: '&6mpoints <pointname> set * <all/online> <amount> <reason>  -  set <all/online player>''s point to <amount>'
help12: '&6mpoints <pointname> balancetop hide/display <player>  -  Hide or display a <player>''s data from TOP10'
help13: '&6mpoints reload -  Reload message.yml'

BungeeCord
Install this plugin on the sub-servers and BungeCord.
Then enable BungeeCord mode in the configuration file. (There is no configuration file on the BungeeCord side)

Screenshot
Untitled-1.jpg

About Menu:
Updating more menu in the future version...

Code (Text):
sm15:
    MenuItem:
    - type:quartz_block
    - durability:1
    - name:&6&lSuper Stone
    - 'lore:&bClick to buy'
    InventoryLocation: 1
    PriceType: mpoints
    Price: '#demo1##50#'
    Reward:
    -  - type:STONE
       - amount:1
    RewardType: item

PlaceholderAPI:

%mpoints_balance_sign_<pointsign>%
indicate balance
%mpoints_balance_value_sign_<pointsign>% indicate balance value
%mpoints_top_player_#_sign_<pointsign>% indicate the player name of the ranking #
%mpoints_top_balance_#_sign_<pointsign>% indicate the player balance of ranking #
%mpoints_top_balance_value_#_sign_<pointsign>% indicate the player balance value of ranking #
%mpoints_sum_balance_sign_<pointsign>% indicate the balance of server total
%mpoints_sum_balance_value_sign_<pointsign>% indicate the balance value of server total
Resource Information
Author:
----------
Total Downloads: 1,026
First Release: Oct 26, 2020
Last Update: Aug 18, 2021
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings