Skip to content

Releases: devblook/akropolis

v1.9.3

04 Aug 20:53
5471304

Choose a tag to compare

Fixed

  • A NullPointerException when an action string was empty.

Notes

A new feature version will come soon!

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.9.2..v1.9.3

v1.9.2

26 Jul 22:39
4f0fd87

Choose a tag to compare

Fixed

  • PvP not being disabled when fight mode module isn't enabled.

Notes

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.9.1..v1.9.2

v1.9.1

22 Jul 23:49
9e3b7ef

Choose a tag to compare

Fixed

  • Nametag module not loading correctly.

Notes

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.9.0..v1.9.1

v1.9.0

21 Jul 04:36
a8a5b74

Choose a tag to compare

⭐ New features!

⚔️ Fight mode

Now players that have fight mode enabled can fight with others that also have fight mode enabled. Just hold the sword for 5 seconds!

image

To use this feature, you must add the following section to your config.yml:

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | FIGHT MODE                               |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

fight_mode:
  # Should the fight mode feature be enabled?
  enabled: true
  # Slot the item should be given to?
  slot: 7
  # Should we prevent them from moving/dropping the item?
  disable_inventory_movement: true
  # Delay in seconds before the fight mode gets toggled.
  hold_delay:
    # The sword should be held for this amount of time to activate the fight mode.
    activate: 5
    # Any other item that isn't the sword should be held for this amount of time to deactivate the fight mode.
    deactivate: 5

  # The item that will toggle the fight mode and also the sword used to fight.
  item:
    material: NETHERITE_SWORD
    amount: 1
    unbreakable: true
    display_name: "<red>Fight Mode <gray>(Hold to toggle)"
    lore:
      - "<dark_gray>» <gray>Hold for 5 seconds to toggle the fight mode!"
    enchantments:
      - "sharpness:5" # enchantment:level
    item_flags:
      - "HIDE_UNBREAKABLE"
      - "HIDE_ATTRIBUTES"
      - "HIDE_ENCHANTS"

  # The armor that will be given to the player when they enter fight mode.
  armor:
    helmet:
      material: DIAMOND_HELMET
      amount: 1
      unbreakable: true
      item_flags:
        - "HIDE_UNBREAKABLE"
    chestplate:
      material: DIAMOND_CHESTPLATE
      amount: 1
      unbreakable: true
      item_flags:
        - "HIDE_UNBREAKABLE"
    leggings:
      material: DIAMOND_LEGGINGS
      amount: 1
      unbreakable: true
      item_flags:
        - "HIDE_UNBREAKABLE"
    boots:
      material: DIAMOND_BOOTS
      amount: 1
      unbreakable: true
      item_flags:
        - "HIDE_UNBREAKABLE"

  # Actions to execute when the fight mode gets activated or deactivated.
  actions:
    countdown:
      - "[SOUND] BLOCK_AMETHYST_BLOCK_PLACE"
    activated:
      - "[TITLE] <red><b>PvP activated!;<white>Try to survive!"
      - "[SOUND] ENTITY_ENDER_DRAGON_GROWL"
    deactivated:
      - "[TITLE] <green><b>PvP deactivated;<white>You've survived, uh?"
      - "[SOUND] ENTITY_SNIFFER_HAPPY"

🎶 Song player

Now you can play songs in .nbs format using NoteBlockAPI (REQUIRED TO USE THIS FEATURE). Just drop them in your songs/ folder and they will play automatically!

You will need the following config.yml section to make this work:

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | SONG PLAYER                             |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

# Plays music through noteblocks using NoteBlock API. Music files are stored in nbs format inside "Akropolis/music"
# directory.
song_player:
  # Should we play music in the lobby?
  enabled: false

  # There are 2 types of song players:
  # - RADIO: plays songs for all players no matter where they are.
  # - POSITION: play songs for all added players in specified range from specified point.
  type: "RADIO"

  # Modify the range where a song is played while using POSITION song player.
  # Use the "/akro sp setpos" command to set the position of the song player.
  distance: 16

  # Set the volume of the song player.
  volume: 85

  # Fade effect duration in ticks (20 ticks = 1 second).
  fade:
    in: 20
    out: 20

There is also two new commands available for this new feature (akropolis.command.songplayer):

  • akro sp setpos - To set the position of the POSITION song player.
  • akro sp skip - To skip the current song.

😎 Emojis

Give your chat a little more fun with emojis!

image

Emojis are restricted to chat groups, so you will need to enable that feature to make them work. You can add a list of emoticons that will be replaced by the emoji specified. If you specify a list of emojis, a random one will be chosen.

  default:
    priority: 0
    format: "<hover:show_text:'<rainbow>You can also use hover here!'><papi:luckperms_prefix></hover> <gray><player> <dark_gray>» <gray><message>"
    # Just in case you want to slow down your players a little.
    cooldown:
      time: 3 # Time is in seconds.
      message: "<gold><b>Akropolis <reset><dark_gray>|| <red>Please wait <yellow><time>s <red>before talking again!"
    # Add all the emojis you want here.
    emojis:
      smile:
        # ":)" or ":smile:" will be replaced by "<yellow>😀".
        emoticon: [":)", ":smile:"]
        emoji: "<yellow>😀<reset>"
      sunglasses:
        emoticon: ["B)", ":sunglasses:"]
        emoji: "<yellow>😎<reset>"
      heart:
        emoticon: ["<3", ":heart:"]
        emoji: "<red>❤<reset>"

More examples can be found in the config.yml.

🖼️ Custom tooltip style

You can modify the style of tooltips of certain items using a texture pack! Just add the option tooltip_style: <style_name> to the item you want to modify.

image

Also added...

  • Support from 1.21.6 to 1.21.8 (1.21.5 and below is no longer supported sadly).
  • The possibility to use some types of placeholders inside the title of GUIs and boss bars.
  • Support for the new custom model data format (here is a brief example).
    • If the implementation can be improved, please, let me know as I don't know much about custom model data.
  • Support for placeholders in all actions where is possible!
  • An option to disable inventory drop on death.
    • Just add disable_inventory_drop: true to your world_settings (default is true).
  • An option to set a priority to each chat group, so you can choose which chat group overrides another (highest priority overrides others).
    • Add priority: <number> below the group you want to modify as shown here.

Fixed

  • Barriers not being able to be used as an item (@Fritx22).
  • Double jump not working correctly on certain cases (@Fritx22).
  • HIDE_ATTRIBUTES flag not working (@Fritx22).
  • Nametag format being shown in disabled worlds.

Notes

I did my best testing this version, as it contains many new features. If I did miss any bug, please, let me know so I can fix it ASAP.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.8.1..v1.9.0

v1.8.1

31 Dec 03:33
5513a05

Choose a tag to compare

Added

  • Support for every 1.21 version by checking if we should use generic.max_health or max_health attribute, as Mojang changed this without apparent reason and was one of the only reasons the plugin didn't work properly in other versions.

Fixed

  • A potential bug when creating the set of interactable materials.

Notes

As always it is recommended to test this plugin before using it in production, as bugs may rise even if I test the plugin before.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.8.0..v1.8.1

v1.8.0

30 Dec 15:43
d4a6fdf

Choose a tag to compare

⭐ New feature!

Now all of your hotbar items can have a custom cooldown!

If you want to use this new feature, just add cooldown: <time in seconds> to any item, like in the example shown below:

  items:
    server_selector:
      material: NETHER_STAR
      amount: 1
      slot: 4
      cooldown: 10 # seconds
      display_name: "<aqua>Server Selector <gray>(Right-Click)"
      lore:
        - "<dark_gray>» <gray>Right click to open the server selector!"
      actions:
        - "[MENU] serverselector"

Also added...

  • The possibility to use legacy chat decorations inside of the chat (with the & character) (#27).

Fixed

  • Actions not working correctly when disconnecting from a disabled world and then reconnecting in a enabled world (#24).

Notes

It is recommended to test this plugin before using it in production, as it can introduce new bugs even if it was tested by us before releasing.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.7.1..v1.8.0

v1.7.1

23 Dec 04:34
b3d2f46

Choose a tag to compare

Fixed

  • Pale garden blocks and chest boats not being protected from interaction (#26).
  • Item meta of player hider not being updated correctly.

Notes

It is recommended to test this plugin before using it in production, as I was sleepy while fixing some of the issues previously mentioned.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.7.0..v1.7.1

v1.7.0

21 Dec 03:42
0ee81b2

Choose a tag to compare

⭐ New features!

Now you can toggle the custom hotbar from Akropolis with a single command (/akro hotbar)! This way you can build your lobby without any distraction in your inventory. To use this command you will need the permission akropolis.command.hotbar and if you want to customize the messages for it, just add the following lines to your messages.yml file:

Messages:
  HOTBAR:
    ENABLE: "<prefix> <gray>You have <yellow>enabled <gray>the hotbar items."
    DISABLE: "<prefix> <gray>You have <yellow>disabled <gray>the hotbar items."

  # The rest of you messages configuration...

Also, players can now be hidden by default when you join the server. To modify this behavior, just add the following lines to your config.yml:

join_settings:
  # Decide whether players will be hidden on join or not
  players_hidden: false

  # The rest of your player join settings...

Also added...

  • Support for Paper 1.21.3/1.21.4 (didn't test in 1.21.2) (#23).

Fixed

  • Chat groups not working correctly when a user has the * permission.

Notes

It is recommended to test this plugin before using it in production, as it can introduce new bugs even if it was tested by us before releasing.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.6.0..v1.7.0

v1.6.0

18 Aug 04:51
92b020a

Choose a tag to compare

⭐ New feature!

Now you can display announcements in the player's screen using a boss bar!

Boss bar example

If you want to use this new feature, just copy the configuration snippet below!

boss_bar_announcements:
  # Should the boss bar announcements' system be enabled?
  enabled: false

  # Delay sending boss bar announcements (in seconds).
  delay: 60

  # Choose how the boss bar looks.
  overlay:
    # Decide if the boss bar is continuous or split into segments.
    # Valid options: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20
    type: "PROGRESS"
    # The amount of boss bar that's filled up. A number in the interval [0, 1].
    progress: 1.0

  sound:
    enabled: false
    value: BLOCK_NOTE_BLOCK_PLING
    volume: 1.0
    pitch: 1.0

  announcements:
    - "<blue><b>THIS SERVER USES AKROPOLIS"
    - "<gold><b>NOW WITH BOSS BAR ANNOUNCEMENTS!"
    - "<gradient:green:blue><b>MINIMESSAGE SUPPORT!"

Also added...

  • A new option to disable the chat format, as you can see here (#19).
  • A bunch of new materials to protect from interaction! If you notice a block that's not protected, please open an issue (#18).
  • Support for custom model data! Just insert it along the other options of your item, like custom_model_data: <value> (#12).
  • Complete support for 1.21.1 (this also means we dropped 1.20 support completely).
  • A way to use the player's own head inside menus consistently across the plugin, just use the <player> placeholder inside of the username key, like this: username: <player>.

Fixed

  • MiniMessage format not being applied sometimes in placeholders (#8).
  • Messages being send even when they are empty (the plugin sent an empty message).

Notes

It is recommended to test this plugin before using it in production, as it can introduce new bugs even if it was tested by us before releasing.

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.5.3..v1.6.0

v1.5.3

21 Jul 01:57
d892f65

Choose a tag to compare

Fixed

  • Invalid enchantment name (for 1.20.6 and 1.21 compatibility), thank you @aivruu!
  • Warning when using reflection for base64 heads, now it uses the API properly, thanks @Call4han!
  • Use reflection to get top inventory (for 1.21 compatibility), it is an ugly solution but it will be dropped as soon as we drop 1.20.6 support (which will be in the next version).

Notes

It is recommended to test this plugin before using it in production, as it can introduce new bugs even if it was tested by us before releasing. The next update will drop 1.20.6 support and will be compiled against Java 21, so make sure to upgrade!

If you find a bug don't forget to report it in the issues page.

Full changelog: v1.5.2..v1.5.3