GithubHelp home page GithubHelp logo

skript-votifier-hook's Introduction

skript-votifier-hook

It does what it says!

This Skript addon requires:

  • Votifier (obviously)
  • Java 8

Events

Vote Receive Event

Called every time votifier receives a vote.

on [(any|every|raw)] [votifier] vote receiv(e|ed)

on [(any|every|raw)] votifier vote

This event has access to: event-vote

Online Player Vote Event

Called when an online player votes for the server.

on [online] [player] vote

This event has access to: event-player and event-vote

Expressions

All of the available expressions from this addon are properties of event-vote.

Vote Website

The server list name from where the vote was cast.

([web]site|server[ ]list|service) [name] of event-vote

Voter Username

The voter's submitted username.

[(voter|sender)] user[(-| )]name of event-vote

Voter IP Address

The IP address used when the voter submitted their vote.

[(voter|sender)] [ip(-| )]address of event-vote

Vote Timestamp

The timestamp from when the vote was cast.

[(voter|sender)] time[(-| )]stamp of event-vote

Example Script

# This voter is online!
on vote:

    broadcast "&6&l&oVote! &e%username of event-vote% voted on &f&n%website of event-vote%"
    send "&6Congrats&7, %username of event-vote%!" to event-player

# The voter may or may not be online...
on votifier vote:

    send "&9Received a vote." to console
    send "&7-&f Username: %username of event-vote%" to console
    send "&7-&f Website: %server list of event-vote%" to console
    send "&7-&f Address: %ip address of event-vote%" to console
    send "&7-&f Timestamp: %timestamp of event-vote%" to console

skript-votifier-hook's People

Contributors

rezzedup avatar

Stargazers

 avatar

Watchers

 avatar  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.