Coder Social home page Coder Social logo

prizeplugin's Introduction

PrizePlugin

Working with Arcturus Morningstar 3.0.0

How to use?

you just need to send: :prize <username>

  • update prize list with :update_prize [x]
  • Prize per level (credits, diamonds, duckets, points, badge, furni...)[x]
  • Kick user [x]
  • User won event BubbleAlert[x]
  • Discord logging [x]

How can i install it?

  1. Download a pre-compiled version. PrizePlugin

  2. Run the sql and add badges/texts.

  3. Paste the PrizePlugin-1.0-jar-with-dependencies.jar file into your emulator's plugins folder and start/restart the emulator.

  4. Now you need to give permission for your staffs to use prize command, to do it open your database in the permissions table, and change the permissions cmd_prize and cmd_update_prize.

  5. Then, open prize_plugin table, and configure rewards.

  6. Now, enter your hotel and type: :update_permissions and :update_prize and then try :prize

  7. if you want to configure webhooks check Config webhook

configuration

OBS: the level -1 is the default reward if there's none on user's level.

Permissions:

Key Default Value
cmd_prize 0
cmd_update_prize 0

Discord

print

  1. Open your emulator_settings, and change the key prizeplugin.logging_discord to 1.
  2. Go to the discord channel, Click the gear icon (Edit Channel) of the channel you want to post to.
  3. Click Webhooks in the left menu.
  4. Click the Create Webhook button.
  5. Enter a Name of your choice.
  6. Click the Copy button of the Webhook URL.
  7. Click the Save button.
  8. Paste the Webhook URL into emulator_settings, key prizeplugin.logging.discord-webhook.url

My Discord: BrenoEpic#9671

prizeplugin's People

Contributors

brenoepics avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

habbokey zazel17

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.