Premium ComplexTurrets | Defend Yourself using Turrets! | [1.8-1.17] [Paid]

Discussion in 'Resource Discussion' started by Ajneb97, Jul 9, 2021.

  1. Ajneb97 submitted a new resource:

    ComplexTurrets | Defend Yourself using Turrets! | [1.8-1.16] - Mechanic in which users can place and upgrade Turrets to defend themselves against enemies!

    Read more about this resource...
     
  2. ni si quiera lo puedo comprar pero seguro es muy buen plugin, felicitaciones ajneb :D
     
    • Agree Agree x 2
  3. Thanks for making this possible.
    now might I add to this for possible features (since it is premium now):
    - target priority (range/distance based, random, entity with highest/lowest health)
    - projectile spread (not blast radius, they are two different things)
    - shot delay (the amount of time in between each shot normally used in burst fires, should be able to set floats for this)
    - burst firing mode (which would make shot delay useful, minimum set shots per burst should be 2 else it isnt a burst anymore)
    Tbh, I could make this list really long but im going to stop there because I want to sleep.
    ---
    Also currently the price is sitting at 4.99, which is pretty decent/fair for this plugin considering you can create your very own turret instead of being limited to modifying the presets. Would like to see this plugin grow into something bigger, hopefully with amazing quality (over quantity).
    ---
    Review time comes later.
     
    • Agree Agree x 1
  4. Attached Files:

    • ct1.png
      ct1.png
      File size:
      44.9 KB
      Views:
      7
  5. I have the target priority feature added to the to-do list :)
    Thanks for the suggestions! I also have a long list of features to be added in the future so I hope it grows into something bigger!
     
    • Informative Informative x 1
  6. It seems in turrets menus infinite_ammo_item is missed.
    Also please make turrets names in commands not case sensetive. At moment I must use like
    /ct give Burst... and can not use /ct give burst...

    Best regards.
     
  7. When I click turret enable/disable item, it spamming in console:
    Code (Text):
    [19:53:17 WARN]: Entity EntityNMSArmorStand['[Burst Turret]'/3331, uuid='6e819321-a338-4328-b4f1-fda6c8b461fe', l='ServerLevel[w]', x=-252.50, y=67.68, z=129.50, cpos=[-16, 8], tl=120, v=true, rR=DISCARDED] wasn't found in section SectionPosition{x=-16, y=4, z=8} (destroying due to DISCARDED)
    [19:53:17 WARN]: [ComplexTurrets] Plugin ComplexTurrets v1.1.1 generated an exception while executing task 75314
    java.lang.IllegalStateException: Asynchronous entity unregister!
            at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Paper-95]
            at net.minecraft.server.level.ServerLevel$EntityCallbacks.onTrackingEnd(ServerLevel.java:2193) ~[?:?]
            at net.minecraft.server.level.ServerLevel$EntityCallbacks.onTrackingStart(ServerLevel.java:2137) ~[?:?]
            at net.minecraft.world.level.entity.PersistentEntitySectionManager.stopTracking(PersistentEntitySectionManager.java:144) ~[patched_1.17.1.jar:git-Paper-95]
            at net.minecraft.world.level.entity.PersistentEntitySectionManager$Callback.onRemove(PersistentEntitySectionManager.java:437) ~[?:?]
            at net.minecraft.world.entity.Entity.setRemoved(Entity.java:3908) ~[patched_1.17.1.jar:git-Paper-95]
            at com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.EntityNMSArmorStand.killEntityNMS(EntityNMSArmorStand.java:205) ~[?:?]
            at com.gmail.filoghost.holographicdisplays.object.line.CraftTextLine.despawn(CraftTextLine.java:115) ~[?:?]
            at com.gmail.filoghost.holographicdisplays.object.CraftHologram.clearLines(CraftHologram.java:185) ~[?:?]
            at ct.ajneb97.managers.HologramsManager$2.run(HologramsManager.java:138) ~[?:?]
            at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-95]
            at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.1.jar:git-Paper-95]
            at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-95]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
            at java.lang.Thread.run(Thread.java:831) [?:?]
    As I can see the ComplexTurrets using HolographicDisplays. I beg you add support CMI holograms. It seems was already implemented in the DefensiveTurrets.

    Best regards.
     
    • Like Like x 1
  8. You need to enable ammo for the turret in the config and also to have the permission complexturrets.infiniteammo
     
  9. I'll check it!
     
  10. Ammo enabled and I have complexturrets.admin permission.

    UPD:
    Looks like complexturrets.admin or complexturrets.* do no grants me complexturrets.infiniteammo perm. Only when I oped myself it works

    Regards.
     
    #12 kassad, Jul 10, 2021
    Last edited: Jul 10, 2021
    • Like Like x 1
  11. UPD2:
    I can absolutely confirm that complexturrets.admin does not grants complexturrets.infiniteammo.
    For full access I must have both complexturrets.admin and complexturrets.infiniteammo.
    I don’t know why I didn’t immediately try to grants myself complexturrets.infiniteammo.
    Human factor... :p

    Best regards.
     
    • Informative Informative x 1
  12. Code (YAML):
    # This option only works with turrets that have the 'health' attribute.
    # This option defines how much damage a turret will take from different
    # sources.
    # Format: <min_damage>-<max_damage>
    turret_damage
    :
      bow
    : 10-15
      explosions
    : 150-200
    # This option defines the time (in seconds) to recover turrets health.
    health_recovery_time
    : 7
    Where I can get list of all possible sources?
    Also maybe move this config sections to <turret>.yml?

    Best regards.
     
  13. Code (YAML):
     whitelist_player_item:
        name
    : '&6%player%'
        lore
    :
       - '&fПКМ &7- удалить'
        id
    : STONE
    Don't know it is logical bug? Why there is id:? Let it will player head with corresponding skin texture.

    Best regards.
     
    • Informative Informative x 1
  14. I'm not good at English, I need to say a lot to explain, sorry.
    Can the number of turrets be limited by organization?
    Like Lands.
    Each land can hold five turrets.
    Restrictions are organized, not everyone.
    ————————
    If Lands limit = 5
    Players with land can place 5 turrets.
    But other members can't place it because they already have five.
    ————————
     
  15. From now sources are just two: bows and explosions, if you have a source suggestion you are welcome to tell me ;)
     
  16. Nope, currently is not possible. I will see if I can implement something like that in the future!
     
  17. Hello!
    Big suggestion.
    Custom damage calculation based on the target's armor and enchantments. I am not pretending to name the variables correctly. This is just an example. An example of part of a <turret>.yml config:
    Code (YAML):
    turret:

      advanced_calculation
    :
        enabled
    : true
        placeholders_update_interval
    : 20

      upgrades
    :
        1
    :
          speed
    : 0.75
          range
    : 10
          min_damage
    : 2
          max_damage
    : 4
          # This example = 0.25 for full set of diamond armor (20 armor).
          # So calculated damage is:
          # Min damage: min_damage * 0.25 = 0.5
          # Max damage: max_damage * 0.25 = 1
          multiplier
    : "100 / %armor% * 4 - 1"
          health
    : 50
          money_cost
    : 0
    Variables expanation:

    advanced_calculation
    Activates additional damage calculations.

    placeholders_update_interval
    Defines the placeholders update intarval used in the multiplier formula as well formula recalculation.
    If = 0 then will update every turret shot.
    It is not recommended to set low values, and also set 0 for turrets with high firerate.
    unit - ticks

    multiplier
    Total damage is calculated as random number from min_damage and max_damage multiply by multiplier.
    Possible syntax in the formula:
    +
    -
    *
    /
    ()
    Math.min(x, y)
    where x and y can be complex expression
    Math.max(x, y) where x and y can be complex expression
    Math.pow(x, y) where x and y can be complex expression
    anything else?..
    ---
    Possible placeholders:
    %armor% - returns total armor of the target
    %armor_toughness% - returns total toughness (sum of toughness from all armor slots).
    %protection_level% - returns total Protection enchantment level (sum of levels from all armor slots).
    %blast_protection_level% - returns total Blast Protection enchantment level (sum of levels from all armor slots).
    %fire_protection_level% - returns total Fire Protection enchantment level (sum of levels from all armor slots).
    %projectile_protection_level% - returns total Projectile Protection enchantment level (sum of levels from all armor slots).

    Best regards.
     
    #20 kassad, Jul 12, 2021
    Last edited: Jul 13, 2021
    • Creative Creative x 1