1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript-Paper

Discussion in 'Addon Releases' started by ShaneBee, Dec 5, 2018.

  1. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146

    Skript-Paper is a new Skript add-on that gives you even more syntaxes, using the PaperAPI.

    Right now this add-on only features a bunch of events from Paper (there's currently 21 events I added) but I will be adding more expressions, conditions and effects as time goes on.

    If you have any suggestions of things to add, please let me know.
    --- Double Post Merged, Jan 12, 2019, Original Post Date: Dec 5, 2018 ---
    Small Changes [1.2.0]
    Some small changes

    Added:
    • Player for Beacon effect event
    • Player and Entity for enderman attack player event
    • Item for Witch throw and consume events
    • Past/Future Item for armor change event
    • Item for Player ready arrow event
    Changed:
    • Entity origin expression now handles multiple entities
    • Turtle home expression now handles multiple entities
    • Thrown potion expression uses ItemType now
     
  2. Govindas

    Govindas Active Member

    Joined:
    Feb 5, 2017
    Messages:
    43
    Likes Received:
    2
    hello, I have a little problem with "on projectile collide" event, if I cancel it, the arrow becomes invisible until the chunk is re-loaded, this causes the illusion of arrows not going through, is there any way to fix this?
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    Ive never had this issue. When I cancel the event, the arrow just goes thru the entity and hits the nearest block behind them.

    When Skript or an add-on cancels an event, it literally just tells Bukkit to cancel it, therefor if you are having issues like this, it might be a server issue, or it might be caused by another plugin
    This addon just registers the event with Skript, the cancellation is automatically imported and handled by the server (spigot) so theres really nothing I can do if this isn't working.
     
    #3 ShaneBee, Apr 5, 2019
    Last edited: Apr 5, 2019
  4. Govindas

    Govindas Active Member

    Joined:
    Feb 5, 2017
    Messages:
    43
    Likes Received:
    2
    it does go through and hits block, it's only a visual problem here, so I believe the arrow needs to be re-sent to client after cancellation to be okay, also it may be happening because the arrow goes through like 10 entities at once in a very short time in my situation
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    Oh yeah that could probably cause an issues.. spigot is all "What the heck are you doing?" haha

    I really don't think there would be anyway way around it to be honest
     
  6. Rothesz丶

    Rothesz丶 Member

    Joined:
    Jul 16, 2019
    Messages:
    4
    Likes Received:
    0
    Event
    on enderdragon fireball hit
    on enderdragon shoots fireball
    Error?
    Full code:
    Code (Text):
    1. on enderdragon fireball hit:
    2.     loop all players in radius 10 of event-location:
    3.         damage loop-player by 5.0
    4. on enderdragon shoots fireball:
    5.     heal enderdragon by 10.0
    Errors on Reload:
    Code (Text):
    1. [00:16:52 ERROR]: can't understand this event: 'on enderdragon fireball hit' (apg essentials.sk, line 1: on enderdragon fireball hit:')
    2. [00:16:52 ERROR]: can't understand this event: 'on enderdragon shoots fireball' (apg essentials.sk, line 4: on enderdragon shoots fireball:')
    This server is running Paper version git-Paper-1617 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
    Skript-Paper version 1.3.0
    Skript version 2.3.7
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    That event is only available for 1.13.2+
     
  8. Rothesz丶

    Rothesz丶 Member

    Joined:
    Jul 16, 2019
    Messages:
    4
    Likes Received:
    0
    OK,sorry
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    No worries. All of the syntaxes used to have a "works with <ver>" thing on them, but I think SkriptHub did an update and they got erased, Ill have to re-add them again
     
Loading...