AstraRating 图标

AstraRating

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.27.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/astrarating
资源信息

Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21

平台: bukkit

标签: game-mechanics social

资源介绍

Simple Rating plugin for EmpireProjekt.ru

No-Lag and free!

[!CAUTION]
Java 21 and Paper 1.21.1 only supported! Use other versions on your own risk!

More plugins from AstraInteractive

Placeholders Description
/%erating_color% Show rating color
/%erating_rating% Show player rating
Command Description Permission
/aratingreload Reload plugin astra_rating.reload
/arating reload Reload plugin astra_rating.reload
/arating rating Open rating GUI -
/arating rating <player_name> Open rating GUI of player -
/arating <like/dislike> <player> <message> Raise/Downgrade player rating astra_rating.vote
- Delete player vote in GUI delete_report.vote
- Allows player to vote M times per day for the same player astra_rating.single_player_rate_per_day.M
- Allows player to vote N times per day astra_rating.max_rate_per_day.N

Adding MySql

In order to add MySql support you need to create section in your config.yml

Section will be created by default if you're installing plugin first time

# Use only one sqlite or mysql
# If you define both mysql and sqlite - mysql will be used
# To reconnect from mysql to sqlite and vise versa full restart is required
rating_database:
  type: "MySql"
  host: "0.0.0.0"
  port: 3006
  user: "user_name"
  password: "password"
  name: "rating_database"
# Or  
rating_database:
  type: "H2"
  name: "file_name"
# Or  
rating_database:
  type: "SQLite"
  name: "file_name"

Adding Colors placeholders

Section will be created by default if you're installing plugin first time

papi.yml

# Color are sorted by value: [-10, -5, 0, 5, 10]
# Be sure to fill ALL GAPS/INTERVALS - if not you'll have errors in console
# If you don't want this feature - remove coloring section or comment it using '#' symbol
colorings:
# [-inf,-10)
- type: LESS
  value: -10  
  color: "#9c0303"
# [-10,-0)
- type: LESS
  value: 0  
  color: "#eb3131"
# [0,0]
- type: EQUALS  
  value: 0
  color: "#FFFFFF"
# [0,10)
- type: MORE
  value: 0
  color: "#51a8f5"
# [10,+inf]
- type: MORE
  value: 10
  color: "#0872cf"    

Adding events [Experimental]

Section will be created by default if you're installing plugin first time.

When enabled, the plugin will decrease player rating when killed a player with positive rating

events:
  kill_player:
    change_by: -1
    enabled: false
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sculk Monster

价格:0 墨喵币
下载量:0

查看详情
Cosmere Overhaul

价格:0 墨喵币
下载量:0

查看详情
Rider's Quest

价格:0 墨喵币
下载量:0

查看详情
3D Vessels 1.20.1 TFC

价格:0 墨喵币
下载量:0

查看详情