Coder Social home page Coder Social logo

samicraft / mainplugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 30 KB

The main server plugin, used on the server, handles the discord bot and the money rpc api endpoint

Home Page: https://play.samifying.com

License: MIT License

Java 100.00%
samifying spigot minecraft minecraft-plugin java-11 rest-api moneyrpc server discord-bot jda jda-bot spark-java

mainplugin's Introduction

MainPlugin

This is the main plugin on the SamiCraft Minecraft server, it handles the Discord bot and the MoneyRPC Balance API

Discord Bot Features

Discord bot handles various features on the server, some of the most notable are:

  • Verification and server whitelisting
  • Twitch clips channel filter
  • Minecraft server status

Command list:

  • !balance - Displays your balance on the server
  • !botinvite - Discord invite link for the bot
  • !help - Command list and description
  • !moneyrpc - Instructions on how to install the MoneyRPC mod
  • !myid - Prints out your discord id
  • !seed - Displays the current world's seed
  • !spawn - Writes out current world's spawn location
  • !mcstatus or !online - Displays current server status
  • !tutorial - Youtube playlist containing all the plugin tutorials
  • !verify - Links your Minecraft and Discord accounts

Admin command list:

  • !config - Changes the server configuration
  • !force - Verifies or removes users from whitelist
  • !rcon - Executes a command on the server
  • !whois - Retrieves details about a user/player

MoneyRPC Balance API

You can get real time user balance data from the server using the following endpoint:

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

Additional API Information

  • Rate limit is 1 call per second
  • Returned value is a single string
  • User must be verified and must have joined the server once

mainplugin's People

Contributors

pequla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.