Skocz do zawartości
  • 0

Komunikat po unbanowaniu


Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
6 godzin temu, Rejszpat napisał:

Jeśli w konfigu da się zmieniać wiadomości to tak, natomiast jeśli nie to plik z wiadomościami.

Spoiler

version: 2.0

lockdown: false
lockdown-reason: ""

auto-dupeip: false

history-expirey-minutes: 10080 #1 week.

#Warnings config section
warnings:
    #How long should warnings take to 'expire'?
    #Set to 0 for never (...Honestly, I believe you should forgive them after a month at most...)
    expirey-in-minutes: 4320
    # This section looks scary, but really isn't... If you're scared,
    # Just read the actual stuff and skip the comments unless you want to do some tricky things.
    
    #What actions should we take when a player receives a warning?
    #Format is like:
    #<number of warnings>: 'commands to execute;seperated by semicolons'
    #Examples:
    #actions:
    #   1: 'msg {name} You have been warned!'
    #   2: 'strike {name};msg {name} You have angered Zeus!'
    #   3: 'tempban {name} 1 hour Reached Max Warnings. Reasons:\n{reasons}\nBy: {banner}'
    #Variables allowed:
    #{name} the name of the player
    #{ip} the last known IP of the player
    #{reason} the last reason the player was warned
    #{reasons} all the reasons (seperated by new lines) for this punishment. Example:
    #Reason1: "Griefing"
    #Reason2: "Spamming"
    #Reason3: "Begging for items"
    #Now, if I did
    #3: 'tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
    #it would disconnect the user with this message:
    #-------------------------------------
    #You have been Temporarily Banned for:
    #'Reached Max Warnings:
    #Griefing
    #Spamming
    #Begging for items'
    #By Console. Expires in 1 hour
    #-------------------------------------
    #If the command starts with a /, then the banner will execute the command
    #Otherwise, the command will be executed by CONSOLE.
    #You might want to use -s in these commands (To stop them broadcasting messages to players)
    actions:
        2: '/kick {name} Final Warning: \n{reason}'
        3: '/tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
    #After receiving this many warnings, they will be all deleted.
    #If 'actions' has an action for a number higher than this, then the action will never be
    #done... Because this resets it to 0
    #If you set this to <= 0, then it will be ignored, and warnings will never reset.
    max: 3

#Should we check that we're running the latest version of MaxBans?
#This does NOT update it for you, it just notifies you in the console when
#the server boots up if there is a new version available.
#Not working in v1.9 & v2.0. 
update-check: true

#Accepts colorcodes. (v1.2)
default-reason: "Brak"
#Appeal-message accepts color codes, like &a and &4... Set it to "" to disable this. Accepts new line characters, just add \n where you want a new line.
appeal-message: "Brak"

#The two char colors used that STAFF will see.
#Usually, primary = text, and secondary = variables (Like ban reason)
#0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
color:
    primary: f
    secondary: a

#Maximum tempban time, in seconds. 604800 is a week.
MaxTempbanTime: 604800


#This applies to kick, ban, and anything else.
kick-colors:
    #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
    reason: f #"Misconduct"
    regular: f #"By"
    banner: f #"Netherfoam"
    time: f #4 hours 59 minutes remaining.


#Some plugins will register their commands before we do (Eg other ban/kick plugins).
#This option allows users to try and force MaxBans to take those already-taken commands.    
override-commands: true

chat-commands:
    - me
    - say

#Should we notify players with maxbans.notify whenever a banned player tries (fails) to join?
notify: true
#Should we verify names have the letters (A-Z,a-z,0-9 and _) only and are valid?
filter-names: true

#Should we use the DNS blacklist?
dnsbl:
    #Should we use this? Setting it to false disables DNSBL entirely.
    use: true
    #The DNSBL servers we should use to look up.  More servers = Slower results.
    #Each server takes approx 4 seconds to respond.  Use http://dnsbl.info to find
    #More servers, if you like.
    #DNSBL results are cached for 1 week, then expire (Are deleted).
    #This is how MaxBans checks for proxied IPs
    # 1.  Have we looked the IP up on DNSBL before, and has it not expired? If so go to 3
    # 2.  Start IP lookup, this takes a few seconds...
    # 3.  If the IP is not a proxy, stop checking, they're allowed, do not proceed to step 4.
    # 4.  Take appropriate action (Kick, notify) if any.
    servers:
    - bl.spamcop.net
    - sbl.spamhaus.org
    #Should we notify players with maxbans.notify when a player is joining with a proxy IP?
    notify: true
    #Should we kick players who are discovered to have proxy IPs?
    kick: false

bungee: false
# Sync is an advanced feature of MaxBans.
# It only applies to server owners who want to BAN/etc Players using a WEBPAGE, such as PHP Script
# Or owners who want two servers to have the SAME banlist!
# This option is in BETA! I take no responsibility if it breaks, though I will endeaver to fix it.

 

 

Edytowane przez ThatsVylence
Nieaktywny

Wstawiam w code i umieszczam w spoilerze.

Odnośnik do komentarza
https://skript.pl/temat/27751-komunikat-po-unbanowaniu/#findComment-183866
Udostępnij na innych stronach

  • 0

daj link do MaxBans z którego pobrałeś i wersje serwera.


PANIE TY MI DAŁEŚ KONFIGURACJE A NIE TŁUMACZENIE -_-

Daj messages.yml

disconnection:
    you-were-kicked: "&fKicked by &a{banner}&f - Reason: \n&a'{reason}'&f"
    you-are-banned: "&fYou're banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\n{appeal-message}"
    you-are-ipbanned: "&fYou're IP Banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\n{appeal-message}"
    you-are-temp-banned: "&fYou're temporarily banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\nExpires in: {time}.\n{appeal-message}"
    you-are-temp-ipbanned: "&fYou're temporarily IP Banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\nExpires in: {time}.\n{appeal-message}"
    
    you-are-rangebanned: "&fYour IP Address (&c{range}&f) is RangeBanned.\nReason: &a{reason}&f\nBy: &a{banner}&f.\n{appeal-message}"
    you-are-temp-rangebanned: "&fYour IP Address (&c{range}&f) is RangeBanned.\nThe ban expires in &a{time}&f.\nReason: &a{reason}&f\nBy: &a{banner}&f.\n{appeal-message}"
    
    you-are-proxied: "Kicked by Maxbans:\n Your IP ({ip}) is listed as a proxy."
    
    lockdown-active: "&fServer is in lockdown mode. Try again shortly. Reason: \n{reason}"
    invalid-letters: "&fKicked by MaxBans.\nYour name contains invalid characters:\n&c'{letters}'&f"
    invalid-name: "&fKicked by MaxBans.\nYour name is invalid!"
    
    
announcement:
    player-was-kicked: "&a{name}&f was kicked by &a{banner}&f for &a'{reason}'&f."
    player-was-banned: "&a{banner}&f banned &a{name}&f for &a'{reason}'&f."
    player-was-ip-banned: "&a{banner}&f IP banned &a{name}&f ('&a{ip}&f') for &a'{reason}'&f."
    player-was-muted: "&a{banner}&f muted &a{name}&f for &a{reason}"
    player-was-tempbanned: "&a{banner}&f tempbanned &a{name}&f for {time} for &a'{reason}'&f"
    player-was-tempipbanned: "&a{banner}&f temp IP banned &a{name}&f ('&a{ip}&f') for {time} for &a'{reason}'&f"
    player-was-temp-muted: "&a{banner}&f temp muted &a{name}&for &a{reason} for &a{time}."
    player-was-unbanned: "&a{banner}&f unbanned &a{name}&f"
    player-was-unmuted: "&a{banner}&f unmuted &a{name}&f"
    player-was-warned: "&a{banner}&f warned &a{name}&f for &a'{reason}'&f"
    ip-was-unbanned: "&f&a{ip}&f has been unbanned by &a{banner}&f."
    player-warnings-cleared: "&a{banner}&f cleared &a{name}&f's warnings."
    unwarn-success: "&a{banner}&f pardoned one of &a{name}&f's warnings."
    
error:
    no-player-given: "&cNo name given."
    no-permission: "&cYou don't have permission to do that."
    no-ip-known: "&cThat player has no IP history!"
    no-ipban-found: "&cCould not find a ban for &a{ip}&f."
    no-ban-found: "&cCould not find a ban for &a{name}&f."
    no-mute-found: "&a{name}&c is not muted."
    no-dupeip-duplicates: "&fNo duplicates!"
    no-history: "&fNo history."
    no-warnings: "&a{name}&c has no warnings to their name."
    
    unknown-player: "&cNo player found: &a{name}&f"
    player-already-banned: "&cThat player is already banned."
    ip-already-banned: "&cThat IP is already banned."
    
    
    tempban-shorter-than-last: "&cThat player has a tempban which will last longer than the one you supplied!"
    tempipban-shorter-than-last: "&cThat IP has a tempban which will last longer than the one you supplied!"
    tempmute-shorter-than-last: "&cThat player already has a mute which lasts longer than the one you tried to give."

times:
    hours: hour
    minutes: minute
    seconds: second
    weeks: week
    days: day
    years: year
    months: month

Spolszcz sobie a nie z neta pobierasz tłumaczenia pod starszą wersję.

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/27751-komunikat-po-unbanowaniu/#findComment-183889
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...