Zdravím,
opět otevírám téma vote a odměny. Hledal jsem na fóru horem dolem a nic mi z těch rad nefunguje.
Plugin na vote: NuVotifier
Plugin na odměny: SuperbVote
Mám dva problémy.
První je zde:
Spoiler: zobrazit
- pojeb.PNG (15.35 KiB) Zobrazeno 2784 x
Hlas se sice započítá, ale ukazuje to toto.
Druhý problém je, že odměny nechodí hráčům. Z console nechodí žádné hlášky.
Config NuVotifier:
Spoiler: zobrazit
# The IP to listen to. Use 0.0.0.0 if you wish to listen to all interfaces on your server. (All IP addresses)
# This defaults to the IP you have configured your server to listen on, or 0.0.0.0 if you have not configured this.
host: 0.0.0.0
# Port to listen for new votes on
port: 30402
# Whether or not to print debug messages. In a production system, this should be set to false.
# This is useful when initially setting up NuVotifier to ensure votes are being delivered.
debug: false
# Setting this option to true will disable handling of Protocol v1 packets. While the old protocol is not secure, this
# option is currently not recommended as most voting sites only support the old protocol at present. However, if you are
# using NuVotifier's proxy forwarding mechanism, enabling this option will increase your server's security.
disable-v1-protocol: false
# All tokens, labeled by the serviceName of each server list.
tokens:
# Default token for all server lists, if another isn't supplied.
default: skryté - stejný jako na czech-craftu
# Configuration section for all vote forwarding to NuVotifier
forwarding:
# Sets whether to set up a remote method for fowarding. Supported methods:
# - none - Does not set up a forwarding method.
# - pluginMessaging - Sets up plugin messaging
method: none
pluginMessaging:
channel: NuVotifier
# This defaults to the IP you have configured your server to listen on, or 0.0.0.0 if you have not configured this.
host: 0.0.0.0
# Port to listen for new votes on
port: 30402
# Whether or not to print debug messages. In a production system, this should be set to false.
# This is useful when initially setting up NuVotifier to ensure votes are being delivered.
debug: false
# Setting this option to true will disable handling of Protocol v1 packets. While the old protocol is not secure, this
# option is currently not recommended as most voting sites only support the old protocol at present. However, if you are
# using NuVotifier's proxy forwarding mechanism, enabling this option will increase your server's security.
disable-v1-protocol: false
# All tokens, labeled by the serviceName of each server list.
tokens:
# Default token for all server lists, if another isn't supplied.
default: skryté - stejný jako na czech-craftu
# Configuration section for all vote forwarding to NuVotifier
forwarding:
# Sets whether to set up a remote method for fowarding. Supported methods:
# - none - Does not set up a forwarding method.
# - pluginMessaging - Sets up plugin messaging
method: none
pluginMessaging:
channel: NuVotifier
Config SuperbVote (odměny):
Spoiler: zobrazit
# SuperbVote configuration
# A superb vote plugin made by Tux.
#
# https://github.com/minecrafter/SuperbVote/wiki
# Database configuration.
storage:
database: json
json:
file: votes.json
mysql:
host: 127.0.0.1
username: root
password: topsecret
database: superbvote
table: votes
read-only: false
# General vote configuration.
votes:
# At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
# Default: 3600 seconds (1 hour)
cooldown-per-service: 3600
# Whether or not to treat the server as online-mode. This is mostly required for BungeeCord setups.
force-online-mode: false
# Whether or not to treat fake votes as real votes
process-fake-votes: true
# Rewards. This is the main section you will need to edit. Ordering is important.
rewards:
# Example of matchers.
- if:
permission: superbvote.test
chance: 100
service: Czech-craft.cz
commands:
- give %player% diamond 4
player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
broadcast-message: "&a%player% got really lucky and was rewarded with 4 diamonds and $1000!"
# Default rewards are defined by having no preconditions. Place it at the bottom of the config.
- if: {}
commands:
- eco give %player% 1000
player-message: "&eDěkujeme za hlas. Hlasuj znova za 2 hod. a dostaneš další odměnu."
broadcast-message: "&7&l[&4&lServer&7&l] &a&l%player% &adostal odměnu! Nebuď pozadu a hlasuj také na &4/hlasuj"
# Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
require-online: true
# Broadcast settings:
broadcast:
# Should we broadcast votes at all?
enabled: true
# Should we tell players if they voted?
message-player: true
# Should we broadcast queued votes?
queued: true
# Vote command.
# See http://www.minecraftforum.net/forums/mi ... itle-books
# and https://www.minecraftjson.com for json text format
vote-command:
enabled: false
use-json-text: false
text: |-
You could vote for us, but the owner forgot to add the list of websites to vote at!
# Vote reminder.
vote-reminder:
message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
on-join: true
repeat: 180
# Controls the /sv <top/leaderboard> command.
leaderboard:
# Supported: text, scoreboard
display: text
# The text format supports pagination.
text:
per-page: 10
header: "&c&m &r&b Top Voters &r&c&m &r"
entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
# Control the scoreboard.
scoreboard:
title: Top voters
max: 10
# Control top player signs.
top-player-signs:
format:
- "#%num%"
- ""
- "%player%"
- "&l%votes% &rvotes"
# A superb vote plugin made by Tux.
#
# https://github.com/minecrafter/SuperbVote/wiki
# Database configuration.
storage:
database: json
json:
file: votes.json
mysql:
host: 127.0.0.1
username: root
password: topsecret
database: superbvote
table: votes
read-only: false
# General vote configuration.
votes:
# At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
# Default: 3600 seconds (1 hour)
cooldown-per-service: 3600
# Whether or not to treat the server as online-mode. This is mostly required for BungeeCord setups.
force-online-mode: false
# Whether or not to treat fake votes as real votes
process-fake-votes: true
# Rewards. This is the main section you will need to edit. Ordering is important.
rewards:
# Example of matchers.
- if:
permission: superbvote.test
chance: 100
service: Czech-craft.cz
commands:
- give %player% diamond 4
player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
broadcast-message: "&a%player% got really lucky and was rewarded with 4 diamonds and $1000!"
# Default rewards are defined by having no preconditions. Place it at the bottom of the config.
- if: {}
commands:
- eco give %player% 1000
player-message: "&eDěkujeme za hlas. Hlasuj znova za 2 hod. a dostaneš další odměnu."
broadcast-message: "&7&l[&4&lServer&7&l] &a&l%player% &adostal odměnu! Nebuď pozadu a hlasuj také na &4/hlasuj"
# Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
require-online: true
# Broadcast settings:
broadcast:
# Should we broadcast votes at all?
enabled: true
# Should we tell players if they voted?
message-player: true
# Should we broadcast queued votes?
queued: true
# Vote command.
# See http://www.minecraftforum.net/forums/mi ... itle-books
# and https://www.minecraftjson.com for json text format
vote-command:
enabled: false
use-json-text: false
text: |-
You could vote for us, but the owner forgot to add the list of websites to vote at!
# Vote reminder.
vote-reminder:
message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
on-join: true
repeat: 180
# Controls the /sv <top/leaderboard> command.
leaderboard:
# Supported: text, scoreboard
display: text
# The text format supports pagination.
text:
per-page: 10
header: "&c&m &r&b Top Voters &r&c&m &r"
entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
# Control the scoreboard.
scoreboard:
title: Top voters
max: 10
# Control top player signs.
top-player-signs:
format:
- "#%num%"
- ""
- "%player%"
- "&l%votes% &rvotes"
Czech-craft:
Spoiler: zobrazit
- craft.PNG (8.57 KiB) Zobrazeno 2784 x
Děkuji s pozdravem Memik.