项目作者: SamiCraft

项目描述 :
HideySMP whitelisting and balance plugin
高级语言: Java
项目地址: git://github.com/SamiCraft/SamiPlugin.git
创建时间: 2021-08-07T08:44:22Z
项目社区:https://github.com/SamiCraft/SamiPlugin

开源协议:MIT License

下载


SamiPlugin

Official HideySMP whitelisting and balance plugin

Features

  • Discord based whitelisting
  • Discord webhooks
  • On join LuckPerms group management (group.supporter and group-mod)
  • Dragon drops elytra
  • Double shoulker shells
  • Turtle drops 2 scutes when grown
  • Bats dont spawn
  • Ender dragon doesnt grief
  • /lookup command
  • /lore command to set the item role for a price
  • /discord command for plugin reload
  • Rest API for balance

To be added (soon):

  • Rest API for server status
  • Plugin API for accessing player discord data and sending webhooks

Configuration

  1. webhook: url
  2. port: 8010
  3. auth:
  4. guild: 264801645370671114
  5. role: 426156903555399680
  6. staff: 863124017064706069
  7. supporter: 743861104819830854
  8. enable:
  9. advancements: false
  10. balance-api: false
  11. supporter-bypass: false
  12. maintenance: false
  13. color:
  14. system: 65535
  15. join: 65280
  16. sami: 15369278
  17. leave: 16711680
  18. death: 8388736
  19. advancement: 65535
  • webhook must be a valid Discord Webhook URL, you can find more about Discord Webhooks
    on this link
  • port represents a TCP port where the Balance API will listen to
  • auth.guild is a discord server id you want to use for verification
  • auth.role is a role you want to use for verification
  • auth.staff is the staff role id
  • auth.supporter represents a supporter only channel id
  • The color section must contain only valid color decimal or hexadecimal numbers

Guild is set by default to Sami’s Hidey Hole and role to the Media role. Make sure that the roles and channels in your configuration are from the correct guild

Vault Balance API

Real time player balance can be obtained using this HTTP GET endpoint

  • https://api.samifying.com/v1/balance?id=<discord-id>

If you are running the plugin on your own server the path will be by default http://localhost:8010/v1/balance. Make sure to change the host and port according to your plugin and server configuration

Libraries used