Mod

Fabric Reputation System

Quick rating

Fabric Reputation System

No reviews yet

This is a mod to manage player reputation on a server. Mean players (e.g. griefers and thieves) can get downvoted, while nice players can get upvoted. You can configure some actions to happen based on a player's reputation.

Mod Loaders
Fabric
Quilt
Minecraft

Community voices

Reviews

Filter by exact patch versions
Loading exact versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your updated review is now pending. It has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.1.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Fabric Reputation System

This is a mod to manage player reputation on a server. Mean players (e.g. griefers and thieves) can get downvoted, while nice players can get upvoted. You can configure some actions to happen based on a player's reputation. You can configure even more actions using a datapack.

Command summary

  • /rep view [player] — View the reputation of a player.
  • /rep set <rep>, /rep set <player> <rep> (operator only) — Set the reputation of a player.
  • /rep upvote <player> [reason] — Upvote a player. The reason argument can be configured to be required.
  • /rep downvote <player> [reason] — Downvote a player. The reason argument can be configured to be required.
  • /rep reload (operator only) — Reload the config file
  • /rep wanted — View the coordinates of a "wanted" player.

Getting the reputation in a datapack

You can save a player's reputation into a scoreboard objective with the following command:

execute as <entity> store result score @s <objective> run rep view @s[type=player]

Configuring the mod

Here's the mod's default config file:

{
	// Cooldown time is in seconds.
	// `/rep set` is not affected by cooldown, but `/rep upvote` and `/rep downvote` are.
	cooldown: 84600,
	// The minimum and maximum reputation.
	// All reputation changes will clamp between these values.
	minRep: null,
	maxRep: null,
	// Minimum required reputation to PvP. Anything lower than this will not be able to hit another player.
	// Can be set to null to always allow PvP.
	minPvPRep: null,
	// Minimum required reputation to modify within the range of spawn protection.
	// Can be set to null to always disallow modification.
	minSpawnBuildingRep: null,
	// Maximum required reputation to be wanted (have co-ords shown).
	// Can be set to null to not allow anyone to be wanted.
	maxWantedRep: null,
	// Require a reason to vote on a player.
	votingReasonRequired: true,
	// Show the upvote/downvote reason in notifications.
	showReason: false,
	// Notify the player when they get upvoted.
	upvoteNotifications: false,
	// Notify the player when they get downvoted.
	downvoteNotifications: false,
	// Webhook to log upvotes and downvotes.
	discordWebhookUrl: null
}

Querying reputation from a mod

First, depend on the mod in your build.gradle:

repositories {
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:fabric-rep-system:1.0.0"
}

Then, you can query the API for reputation data using RepUtils.getPlayerReputation(playerUuid).

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

~2,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync