Home›Java›Mods›AdvancedWarn - Custom Warning System!
AdvancedWarn - Custom Warning System!
ModsJava

AdvancedWarn - Custom Warning System!

Java mod listed for Minecraft 1.7–1.14. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot

​
This project has been discontinued for the time being.
I am working on recoding the whole project, no ETA.
​
​
[​IMG]
What is AdvancedWarn?
AdvancedWarn (AW), is a highly custom warning system for your server. You are able to use categories that change the severity of your punishment towards the player as well as issue multiple punishments to enforce the rules of your server. AW includes multiple GUIs, player reports, checking of staff warning history, offline warns, easy commands/permissions, and more! Have your staff team follow out the rules by using a proper warning system.

[​IMG]

♠ Create Multiple GUIs
♠ Category based System
♠ Customize everything
♠ Check Staff warning history through GUI
♠ Add, take, clear or set a player's warnings
♠ Check your warnings
♠ Report System
♠ Stop Staff from warning the same person at the same time
♠ Stop players from sending multiple reports at the same time
♠ Warn offline players
♠ Issue an unlimited amount of punishments
♠ Issue multiple punishments on one warning
♠ Supports Multiple Languages
♠ Messages 100% Custom

♠ Supports 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13 & 1.14+
[​IMG]

[​IMG]

Creating a Category is very simple. Locate your categories.yml file. The format is below:​
Code (Text):
categories:
  hack:
    reason: Hacking in-game
    punishments:
    - tempban %player% 7d Use of Hacked Client
    - tempban %player% 14d Use of Hacked Client
    - (ban %player% Third Offense; Use of Hacked Client,banip %player% Use of Hacked
      Client)
"hack" is the category name. For example "/warn <player> hack". Try and make all your category names lowercase! Each punishment line corresponds to the warning. So the first punishment will be carried out upon the first warning. To issue multiple punishments follow the example of the 3rd punishment above. Surround the whole line with parenthesizes and in between each command put a comma, NO spaces! Create as many categories as you need!

[​IMG]
[​IMG]

The GUI is 100% Custom.
An Example GUI format is below:​
Spoiler: Example GUI Format
Code (Text):
gui:
  main-page:
    title: '&4Warn GUI'
    slots: 54
    close-button: 50
    items:
      '1':
        item-name: '&6&lCheating'
        item-material: DIAMOND_SWORD
        enchanted: true
        lore:
        - '&6Click to warn for Cheating!'
        item-slot: 12
        run: CATEGORY
        category: cheat
      '2':
        item-name: '&a&lSpam'
        item-material: GRASS_BLOCK
        enchanted: true
        lore:
        - '&aClick to warn for Spam!'
        item-slot: 16
        run: CATEGORY
        category: spam
      '3':
        item-name: '&b&lHacking Categories'
        item-material: DIAMOND_BLOCK
        enchanted: true
        lore:
        - '&bClick to view different Hack Categories!'
        item-slot: 32
        run: OPEN-GUI
        gui: hack-categories
 hack-categories:
    title: '&6Hack'
    slots: 27
    home-button: 23
    items:
      '1':
        item-name: '&cHack'
        item-material: PAPER
        enchanted: true
        lore:
        - '&cClick to warn for hack!'
        item-slot: 12
        run: CATEGORY
        category: hack
You are able to create custom GUIs for /warn.
locate the gui.yml.
In the example above I went ahead and created a GUI with 54 slots and 3 items inside. Each item can do something different. You can display a message, run a category warn, run a player command, run a console command, open another custom GUI or run the bungee command /server!.
More Info below:​
Spoiler: How each run works
Opening a GUI
Code (Text):
run: GUI
value: <gui-name>
Running a CATEGORY
Code (Text):
run: CATEGORY
value: <category-name>
Running a message
Code (Text):
run: MESSAGE
value:
  - input multiple messages here
Running a PLAYER-CMD
Code (Text):
run: PLAYER-CMD
value:
  - "feed"
Running a CONSOLE-CMD
Code (Text):
run: CONSOLE-CMD
value:
  - "heal %player%"
Just for looks! COSMETIC
Code (Text):
run: COSMETIC
Running the bungee SERVER command
Code (Text):
run: SERVER
value: <SERVER-NAME>
Spoiler: How to use GUI in versions 1.12 and below
- You must use 1.13+ block ID names, you cannot use numbers(example polished_granite not 1:2)
- 1.13+ block ID list can be found here
- Example2: instead of 160:5 use lime_stained_glass_pane
- If the item is not found it will default to a BARRIER block

**Please note this is still in BETA**
Around 1000 items in Minecraft were coded to be converted to the 1.14 block id system. There is a high possibility I missed an item or typed it in incorrectly if you find a block that doesn't work please message me ASAP
Spoiler: Using HeadDataBase
If you have HeadDataBase installed on your server you can use any item on it!
Simply for the "item-material" use "HDB[<item-id>]"
Example:
Code (Text):
item-material: HDB[1138]
1138 is the item ID from the HeadDataBase plugin.

Want to be able to use other head plugins blocks? Send me a link to the plugin and I may add the ability!
Spoiler: Multi-Slot Items
You can set items to multiple slots instead of copying and pasting the item over and over again!
To do this you will need to set the items 'item-slot' number inside brackets. Such as: [1,2,5,6]


Code (Text):
item-slot: [1,2,3,4,5,6,7,8,9,19,20,21,22,24,25,26,27]

​

[​IMG]​
Spoiler: Commands
Code (Text):
/warn <player> <category> <custom-reason>
/warn add <player> <amount> <category>
/warn take <player> <amount> <category>
/warn set <player> <amount> <category>
/warn clear <player> <category>
/warn info <player>
/warn history <player>
/report <player> <reason>
/report all
/report check
/report remove <player> <line number>
/warnings <optional-player> - check warns

/aw reload
/aw clear logs <player> - Removes all logs saved under that player
/aw clear logs all - Removes all logs in data file
/aw clear all <player> - Removes all info from that player
/aw clear file - deletes everything inside data.yml file

Spoiler: Permissions
Code (Text):
Recommended for normal staff:
aw.help - allows user to use /warn help
aw.warn - allows user to use /warn
aw.receivebroadcast - view the broadcast warning message
aw.checkwarns.others - check others warns
aw.info - check warning info
aw.report.staff - allows staff know the report commands
aw.report.check - allows staff to check reports
aw.report.remove - allows staff to remove a report

Recommended for higher staff:
aw.receivebroadcast.extra - view extra broadcast messages
aw.warn.add - allows user to use /warn add
aw.warn.set - allows user to use /warn set
aw.warn.take - allows user to use /warn take
aw.warn.clear - allows user to use /warn clear
aw.history - check staffs warning history
aw.protect - allows user to use /protect

Recommended for players:
aw.checkwarns - check your warnings
aw.report - allows user to use /report

aw.admin - reload configs & more

aw.* - gives you access to all perms
aw.staff.* - gives you all recommended staff perms
aw.admin.* - gives you all recommended higher staff & staff perms
aw.player.* - gives you all recommended player perms

[​IMG]

language: There are 4 different inputs you can have here:
English, German, French, or Spanish. I tried my best to translate some things to other languages. I only speak English so if I have things translated wrong people message me with the correct wording and I will fix it!

logMoreInfo - when enabled this will allow you to use /warn info and /warn history. More info will be logged inside the data.yml such as time, who warned who, warn category and more. This info can be removed from the data.yml if it starts to build up to high! Use /aw to see how to.

broadcast-all-commands - when enabled if a player has aw.receivebroadcast.extra they will get alerted when a staff member uses one of the following commands: /warn set, /warn take, /warn add or /warn clear.

stop-multi-warns when enabled this will stop staff members from warning the same player at the same time, preventing multiple punishments being issued for one incident. The seconds corresponds to the amount of time before that player can be warned again.

total-warns this is for categories only. When enabled if the total amount of warns in every category adds up to the limit then the punishment given will be issued.

[​IMG]

[​IMG]
[​IMG]
Spoiler: more screenshots
[​IMG]
[​IMG]
[​IMG]
[​IMG] [​IMG]


[​IMG]
There are a total of 5 different yml files in AdvancedWarn.
data.yml should not be touched.
gui.yml for the GUIs
categories.yml is for category warns
The Default configs are below:​
Spoiler: settings.yml
Code (Text):
dateFormat: HH:mm:ss MM-dd-yyyy
prefix: '&7[&9&lAdvancedWarn&7]'
language: English
logMoreInfo: true
broadcast-all-commands: true
stop-multi-warns:
  enabled: true
  seconds: 8
warnings:
  offline-warn:
    reason: '&cBreaking our server rules. Contact Staff for more info.'
    warner: Admin
  default-reason: '&cBreaking our servers rules.'
  remove-at-max: true
  warn-gui:
    enabled: true
    confirm-warn: true
gui:
  hide-attributes: true
  close-page:
    enabled: true
    item-name: '&c&lClose'
    item-material: BARRIER
    enchanted: false
    lore:
    - '&c&oClick to close!'
  home-page:
    enabled: true
    item-name: '&c&lHome Page'
    item-material: BARRIER
    enchanted: false
    lore:
    - '&c&oClick to go back!'
total-warns:
  use: true
  limit: 10
  punishment: ban %player% You have reached the warning limit.
  reason: You have reached the warning limit.
report:
  stop-multi-reports:
    enabled: true
    seconds: 120
 
Spoiler: messages.yml
Code (Text):
BASIC-MESSAGES:
  no-permission: '&cYou do not have permission to run this command!'
  player-not-found: '&cPlayer does not exist!'
  player-protected: '&cThis player is protected from warns!'
  self-harm: '&cYou cannot warn yourself!'
  category-not-found: '&cCategory not found &d/&3categories&c!'
  not-a-number: '&cAmount must be a number!'
  already-warned: '&cThis player was warned a few seconds ago!'
  already-reported: '&cThis player was recently reported, please wait a few minutes!'
  no-history: '&cThis player has no warning history!'
  not-a-line-number: '&cLine number must be a number!'
  incorrect-number: '&cLine number isn''t found!'
  no-info: '&cThere is no info for this player!'
USAGE-MESSAGES:
  category-usage:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lUSAGE&7 &l&m«&6&l&m-&f&l&m<<'
  - '&d/&3warn <player> <category>'
  - '&d/&3warn clear <player> <category>'
  - '&d/&3warn set <player> <amount> <category>'
  - '&d/&3warn take <player> <amount> <category>'
  - '&d/&3warn add <player> <amount> <category>'
  - '&d/&3warn info <player>'
  usage:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lUSAGE&7 &l&m«&6&l&m-&f&l&m<<'
  - '&d/&3warn <player> <reason>'
  - '&d/&3warn clear <player>'
  - '&d/&3warn set <player> <amount>'
  - '&d/&3warn info <player>'
  help:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lWARNING SYSTEM&7 &l&m«&6&l&m-&f&l&m<<'
  - '&7If you issued an incorrect warn remove it with &d/&3warn take <player> <amount>
    <category>'
  - '&7All players must follow our rules, if they do not warn them!'
  - '&7Use &d/&3warn <player> <category>'
  report:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lREPORT&7 &l&m«&6&l&m-&f&l&m<<'
  - '&3To report a player use /report <player> <reason>.'
  admin-report:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lADMIN REPORT&7 &l&m«&6&l&m-&f&l&m<<'
  - '&d/&3report all &7- Lists all current reports.'
  - '&d/&3report check <player> &7- Lists the report on that player.'
  - '&d/&3report remove <player> <line number> &7- Removes the report for that player.'
  take-warn: '&cYou cannot add negative warns! To take away warns use &d/&3warn take
    <player> <amount> <category>!'
  use-set-warn: '&cCommand not found, use &d/&3warn set <player> <amount>!'
  history: '&d/&3warn info <player>!'
  info: '&d/&3warn info <player>!'
  no-more-punishments: '&3There is no more than %amount% punishments configured for
    %category%!'
GLOBAL-MESSAGES:
  broadcast-message:
  - '&4&l[&3&lWARNING ISSUED&4&l] &c%warner% &fwarned &c%player% &ffor:&c %reason%'
  broadcast-report:
  - '&c&l[&b&lREPORT ISSUED&c&l] &3%reporter% reported %victim%!'
  - '&3/report check &b%victim%'
  warn-message:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lYOU HAVE RECEIVED A WARNING&7 &l&m«&6&l&m-&f&l&m<<'
  - ' &cWarned By: &f%warner%'
  - ' &cWarned For: &f%reason%'
  - ' &cTime of Warning: &f%time%'
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lRULES: &fwww.<your-website>.com&7 &l&m«&6&l&m-&f&l&m<<'
  offline-warning:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lYOU HAVE RECEIVED A WARNING&7 &l&m«&6&l&m-&f&l&m<<'
  - ' &cWarned By: &f%warner%'
  - ' &cWarned For: &f%reason%'
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lRULES: &fwww.<your-website>.com&7 &l&m«&6&l&m-&f&l&m<<'
  confirm-warn:
  - ' {"text":"&c&l-------<&4&lWARN&c&l>--------","clickEvent":{"action":"suggest_command","value":"/warn
    %target% %category%"},"hoverEvent":{"action":"show_text","value":"&7You are about
    to warn &3%target%&7 for &3%category%."}}'
  - ' {"text":"&cClick to warn &3%target%&c for &3%category%!","clickEvent":{"action":"suggest_command","value":"/warn
    %target% %category%"},"hoverEvent":{"action":"show_text","value":"&7You are about
    to warn &3%target%&7 for &3%category%."}}'
  info-message:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lWARNING INFO&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  - '&7 &c%info%'
  protected-users:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lPROTECTED USERS&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  - '&3%names%'
  report-sent:
  - '&eThank you! Your report has been submitted! We recommend posting a report on
    our forums if you have evidence to include'
  report-removed:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lREPORT&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  - '&3Report was removed!'
  reached-total-warns:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lYOU HAVE RECEIVED A TOTAL AMOUNT OF WARNS&7 &l&m«&6&l&m-&f&l&m<<'
  - ' &cWarned By: &f%warner%'
  - ' &cWarned For: &f%reason%'
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &lRULES: &fwww.<your-website>.com&7 &l&m«&6&l&m-&f&l&m<<'
  staff-help:
  - '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lWarn Help&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  - '&d/&3warn <player> <category>'
  - '&d/&3warn clear <player> <category>'
  - '&d/&3warn set <player> <amount> <category>'
  - '&d/&3warn take <player> <amount> <category>'
  - '&d/&3warn add <player> <amount> <category>'
  - '&d/&3warn info <player>'
  broadcast-total-warns:
  - '&4&l[&3&lWARNING ISSUED&4&l] &c%warner% &fwarned &c%player% &b:: &x%player% &fhas
    reached a total amount of warns!'
  broadcast-clear-warns:
  - '&4&l[&3&lWARNING EDITED&4&l] &f%player% cleared %target%''s warnings for category,
    %category%!'
  broadcast-add-warns:
  - '&4&l[&3&lWARNING EDITED&4&l] &f%player% added %amount% warnings to category,
    %category% for %target%!'
  broadcast-take-warns:
  - '&4&l[&3&lWARNING EDITED&4&l] &f%player% took %amount% warnings from %target%
    for category, %category%!'
  broadcast-set-warns:
  - '&4&l[&3&lWARNING EDITED&4&l] &f%player% set %target%''s warnings to %amount%
    for category, %category%!'
  categories-punishment-gui: '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&f&l%category% - &3&lWARNING
    PUNISHMENTS&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  report-all-header: '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lREPORTED PLAYERS&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  report-check-header: '&f&l&m>>&6&l&m-&7&l&m»&4 &l[&3&lREPORT&4&l]&7 &l&m«&6&l&m-&f&l&m<<'
  clear-warns: '&3Cleared &f%player%''s&3 warnings in category, &f%category%&3!'
  add-warns: '&3You have added, &f%amount% &3warnings to category &f%category% &3for
    &f%player%&3!'
  take-warns: '&3You took &f%amount% &3warnings from &f%player% &3for category, &f%category%&3!'
  set-warns: '&3You set &f%player%''s &3warnings to &f%amount% &3for category, &f%category%&3!'
  history-header: '&4&l[&3&lWARNING HISTORY&4&l]&7          '
  info-header: '&4&l[&3&lWARNING INFO&4&l]&7             '
  info-removed: '&cWarning info removed from player.'
  info-item-lore:
  - '&3Player:&7 %player%'
  - '&3Warned by:&7 %warner%'
  - '&3Reason:&7 %reason%'
  - '&3Category:&7 %category%'
  - '&3Date:&7 %date%'
  - ''
  - '&7Click to edit'
  history-item-lore:
  - '&9Player:&7 %player%'
  - '&9Warned by:&7 %warner%'
  - '&9Reason:&7 %reason%'
  - '&9Category:&7 %category%'
  - '&9Date:&7 %date%'
 
Spoiler: categories.yml
Code (Text):
categories:
  hack:
    reason: Hacking in-game
    punishments:
    - tempban %player% 7d Use of Hacked Client
    - tempban %player% 14d Use of Hacked Client
    - (ban %player% Third Offense; Use of Hacked Client,banip %player% Use of Hacked
      Client)
  spam:
    reason: Spamming in-game
    punishments:
    - mute %player% 1h
    - kick %player% Stop spamming.
    - tempban %player% 12h Stop spamming.
    - ban %player% You have broken our rules to many times. (Spamming) Please appeal
      on our website.
  swear:
    reason: Swearing in-game
    punishments:
    - mute %player% 1h
    - kick %player% Stop swearing.
    - tempban %player% 12h Stop swearing. Last Warning.
    - ban %player% You have broken our rules to many times. (Swearing) Please appeal
      on our website.
 
Spoiler: gui.yml
Code (Text):
gui:
  main-page:
    title: '&4Warn GUI'
    slots: 54
    close-button: 50
    items:
      '1':
        item-name: '&6&lCheating'
        item-material: DIAMOND_SWORD
        enchanted: true
        lore:
        - '&6Click to warn for Cheating!'
        item-slot: 12
        run: CATEGORY
        category: cheat
      '2':
        item-name: '&a&lSpam'
        item-material: GRASS_BLOCK
        enchanted: true
        lore:
        - '&aClick to warn for Spamming!'
        item-slot: 16
        run: CATEGORY
        category: spam
      '3':
        item-name: '&b&lHacking Categories'
        item-material: DIAMOND_BLOCK
        enchanted: true
        lore:
        - '&bClick to view Hacking categories!'
        item-slot: 32
        run: OPEN-GUI
        gui: hack-categories
 



[​IMG]
[​IMG]
Check out my discord if you need fast help. I try to respond to people ASAP.
​
Spoiler: FAQ
Q: My config isn’t saving/reloading, how do I fix this?
A: If you are editing the config and nothing is changing in-game this means you have an error. The most common errors are forgetting a quote (“ ”) or having an extra quote. Also, check your spacing! Compare your config to the example config above. Use this link to test your yml spacing and more!

Q: The messages are not changing, how do I change them?
A: (same as above) If you are editing the config and nothing is changing in-game this means you have an error. The most common errors are forgetting a quote (“ ”) or having an extra quote. Also, check your spacing! Compare your config to the example config above. Use this link to test your yml spacing and more!

Q: Why isn’t my category working?
A: Categories can be compromised if the category name is uppercase. Also check your syntax!

Q: What happens if I run this plugin on 1.12 or lower?
A: Everything should work perfectly fine, if you are using a GUI make sure to only use 1.13+ block ID names!



[​IMG]
[​IMG] [​IMG] [​IMG]
Plugin doesn't work the way you want it to? Message me through discord, spigot, or on the discussion page before you leave a review. Leaving a review with error messages does not make me work any harder to solve the issue.​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AdvancedWarn - Custom Warning System! is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 8,532 times (via Spigot). Download it and open it directly in the game.

Explore more