✺ Aqua Punishments ✺ Bans | Mutes | Blacklists | Kicks | Warns | History Saved [Purchase Now]

Status
This thread has been locked.

FaceSlap_

Java Developer Freelancer
Supreme
Feedback score
14
Posts
20
Reactions
303
Resources
5
Scunqjk.png


Aqua Punishments is a punishment plugin that includes all types of punishments such as Bans, Mutes, Kicks, and others.
Author: FaceSlap_/Activated_
Other required plugins: None
Other requirements: MongoDB & Redis

k3rRNfx.png
  • /blacklist <user> [reason]
  • /ban <user> [duration] [reason] [-s]
  • /mute <user> [duration] [reason] [-s]
  • /ipban <user> [duration] [reason] [-s]
  • /warn <user> [duration] [reason] [-s]
  • /unban <user> [reason] [-s]
  • /unmute <user> [reason] [-s]
  • /unblacklist <user> [reason]
  • /kick <user> [message]
  • /checkpunishments [name]
  • /punishinfo
pHsCQsO.png
  1. Bans
    You can ban players permanent or for an entered period of time. Players can be IP-banned or just banned. If a player is IP-banned no one from the banned IP can't join the server.
  2. Mutes
    You can mute players permanent or for an entered period of time. If a player has active mute the player can't be muted until mute expire.
  3. Warns
    You can warn players as much as you want. You can warn them permanent or for an entered period of time.
    If a player reaches a configurable amount of the warns they will be banned for a configurable amount of time. Also, all warns can be set to inactive after they get banned.
  4. Blacklists
    Player and the IP of the player will be blacklisted and no one from the IP won't be able to join the server.
  5. Alts
    You can check all players potential alts and alts from the last IP of the user.
    - Potential alts are alts that are scanned on all IPs that user was joning from.
    - Regular alts are alts that are scanned on the last IP of the user.
  6. History
    All punishments are saved in Mongo Data Base, it will save or active and in-active punishments which means that you can check them by doing /checkpunishments <user>.
    Also, things like IP, all IPs that user was joining from, first joined, last seen, UUID and such, can be viewed in history.
6Hnz66U.png





QRH4kNi.png

NkIYyS7.png


8AYK4NQ.png


DQjdXZj.png


i1H9nWN.png


VzAmeMH.png


c484791.png


yrAw5rD.png


zjyXtlF.png


sdIphFj.png


CTBX4rh.png
3JS5OPf.png


8t7iqWX.png


Bj0PfIB.png


Va4gAEv.png


tDQiNN4.png


daK8st3.png

kySvxDN.png

Jar file: $10,99
Source code
: $50

HslhZak.png
Code:
package me.activated.punishments.api;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import me.activated.punishments.PunishmentPlugin;
import me.activated.punishments.player.PlayerData;
import me.activated.punishments.utilities.punishments.Alt;
import me.activated.punishments.utilities.punishments.Punishment;
import me.activated.punishments.utilities.punishments.PunishmentType;

import java.rmi.UnexpectedException;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;

@RequiredArgsConstructor
public class PunishmentsAPI {
    private final PunishmentPlugin plugin;


    public boolean isUserLoaded(UUID uuid) {
        return getPlayerData(uuid) != null;
    }

    public PlayerData loadUser(UUID uuid, String name) throws UnexpectedException {
        if (isUserLoaded(uuid)) {
            throw new UnexpectedException("User is already loaded!");
        }
        plugin.getProfileManager().createPlayerDate(uuid, name);
        plugin.getProfileManager().getPlayerDataFromUUID(uuid).load();
        plugin.getProfileManager().getPlayerDataFromUUID(uuid).getPunishData().load();
        return getPlayerData(uuid);
    }

    public PlayerData getPlayerData(UUID uuid) {
        return plugin.getProfileManager().getPlayerDataFromUUID(uuid);
    }

    public boolean isBanned(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().isBanned();
    }

    public boolean isIPBanned(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().isIPBanned();
    }

    public boolean isMuted(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().isMuted();
    }

    public boolean isBlacklisted(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().isBlacklisted();
    }

    public Set<Punishment> getPunishments(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().getPunishments();
    }

    public Set<Punishment> getPunishments(UUID uuid, PunishmentType punishmentType) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPunishData().getPunishments().stream().filter(punishment -> punishment.getPunishmentType() == punishmentType).collect(Collectors.toSet());
    }

    public List<Alt> getAlts(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getAlts();
    }

    public List<Alt> getPotentialAlts(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getPotentialAlts();
    }

    public String getAddress(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getAddress();
    }

    public List<String> getAddresses(UUID uuid) {
        PlayerData playerData = getPlayerData(uuid);
        return playerData.getAddresses();
    }
}

If you would like to purchase this go to resource page here: https://www.mc-market.org/resources/10897/
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

C0an

Le Big Skid
Premium
Feedback score
6
Posts
159
Reactions
86
Resources
0
Looks clean, just not a fan that IPS are just straight up displayed...
 

C0an

Le Big Skid
Premium
Feedback score
6
Posts
159
Reactions
86
Resources
0
Its a local host IP, not a real IP.
I know that but if it’s a real player it still shouldn’t show their ips especially with the whole drama about a punishment plugin showing ips
 

FaceSlap_

Java Developer Freelancer
Supreme
Feedback score
14
Posts
20
Reactions
303
Resources
5
I know that but if it’s a real player it still shouldn’t show their ips especially with the whole drama about a punishment plugin showing ips
I may add another permission to view IPs.
Does this have or require a license key? Just wondering just in case this gets leaked
It does have, every leaked copy will be removed from using. Resource page is also coming in a few days.
 

Corf

Premium
Feedback score
3
Posts
237
Reactions
93
Resources
0
Looks like a very high quality alternative to litebans, good luck with sales man
 

Clown

Member of the circus
Premium
Feedback score
6
Posts
485
Reactions
255
Resources
0
What makes it different from any other available free plugin?
 
Status
This thread has been locked.
Top