Язык

VoteListener

VoteListener

Modrinth

A vote listener for fabric using NuVotifier-Fabric

1.8k загрузок 7 подписчиков обновлено 1mo ago
последняя v1.1.2+26.1.2 Modrinth
Fabric Quilt 1.20 – 26.2 ManagementSocialUtility

VoteListener

Setup

This mod is powered by NuVotifer-Fabric. Make sure to setup NuVotifier
first, by following their Setup Guide.

Config

The config file is located in ./config/votelistener.json.

{
  // Special characters used in commands need to be escaped. Use a website like 
  // https://www.freeformatter.com/json-escape.html to escape your commands
  
  // Commands have special placeholders:
  // ${uuid} - Vote player UUID
  // ${username} - Vote player name
  // ${serviceName} - Voting website name
  // ${address} - IP address of the voter
  // ${timeStamp} - Timestamp of the vote
  
  // A list of commands that get executed when the vote is received
  "commands": [
    "tellraw @a [{\"text\":\"${username}\",\"color\":\"blue\"},{\"text\":\" voted on \",\"color\":\"aqua\"},{\"text\":\"${serviceName}\",\"color\":\"blue\"}]"
  ],
  // A list of commands that gets executed when the player that voted is online or when they join
  // The commands will be executed by the player, as if they were OP
  // You can use @s to target the player (in commands that support entity selectors)
  "onlineCommands": [
    "give @s diamond 1"
  ],
  // A map of vote count milestones to commands
  // The commands work like onlineCommands, but are only executed once for each milestone
  "milestones": {
    // After 5 votes the player receives 5 apples
    "5": [
      "give @s apple 5"
    ],
    "10": [
      "give @s golden_apple 2"
    ]
  }
}

Placeholders

  • votelistener:vote_count - The number of votes a player has accumulated

Permissions

You need to be an operator or have these permissions

  • votelistener.reload - Access to /votelistener reload command

Версии

Release
1.1.2+26.1.2
fabric, quilt · 26.1, 26.1.1, 26.1.2 · 1mo ago
### Added - Support for ISO-8601 timestamps
35
Release
1.1.1+26.1
fabric, quilt · 26.1, 26.1.1, 26.1.2 · 2mo ago
### Added - Option to ignore unknown player votes
69
Release
1.1.1+1.21.11
fabric, quilt · 1.21.11 · 4mo ago
### Added - Option to ignore unknown player votes
68
Release
1.1.0+1.21.11-rc2
fabric, quilt · 1.21.11-rc2, 1.21.11 · 6mo ago
### Added - Vote milestones
60
Release
1.1.0+1.21.9
fabric, quilt · 1.21.9, 1.21.10 · 8mo ago
### Added - Vote milestones
76
Release
1.1.0+1.21.6-rc1
fabric, quilt · 1.21.6-rc1, 1.21.6, 1.21.7 · 12mo ago
### Added - Vote milestones
116
Release
1.1.0+1.21.5-rc1
fabric, quilt · 1.21.5-rc1, 1.21.5-rc2, 1.21.5 · 15mo ago
### Added - Vote milestones
92
Release
1.1.0+1.21
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 23mo ago
### Added - Vote milestones
684
Release
1.0.0+1.21
fabric, quilt · 1.21 · 24mo ago
Update to 1.21
133
Release
1.0.0+1.20.1
fabric, quilt · 1.20, 1.20.1, 1.20.2 · 26mo ago
189
Release
1.0.0+1.20.5
fabric, quilt · 1.20.5, 1.20.6 · 26mo ago
### Changed - Updated to 1.20.5
116
Release
1.0.0+1.20.4
fabric, quilt · 1.20.3, 1.20.4 · 28mo ago
136

Комментарии 0

Пока нет комментариев. Будь первым, кто поделится мнением.