Mc-List Votifier 填寫教學 – 飯糰 Blog
Mc-List Votifier 填寫教學

NuVotifier 插件下載:SpigotMC

將插件安裝至伺服器並重新啟動,就可以進入插件資料夾 (plugins/Votifier) 取得資料

config.yml

# 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
# 這個設定可以指定你要監聽的 IP 位置

# Port to listen for new votes on
port: 8192
# 這個設定可以指定你要監聽的端口

# 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
# mc-list.xyz 使用 v1,請不要關閉

接下來進入 rsa 資料夾,並複製 public.key 貼上到 www.mc-list.xyz 中的設定區域

貼上 publickey 後就可以測試投票了,記得投票位置與端口要正確,如果不正確就無法將票送出。

按下投票後,伺服器控制台就會出現以下訊息

[INFO] Got a protocol v1 vote record from /**.**.***.***:55430 -> Vote (from:mc-list_xyz username:Anonymous address:***.***.***.*** timeStamp:1623161037 additionalData:null)
[INFO] Received a vote from service site 'mc-list_xyz' by player 'Anonymous'!

表示投票系統運作成功,可以存檔開放了。

現在是一隻正在家裡工作的貓,興趣和專長大概就是打開 VSCode 亂寫東西。 平常會在 Twitch 開台,有興趣可以看看。

感謝您的閱讀 /ᐠ .ᆺ. ᐟ\

若您對本篇文章有任何建議或回饋,歡迎點擊下方圖片加入我的 Discord 伺服器來討論!