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.
  1. it_twit

    it_twit Member

    Joined:
    Jan 26, 2017
    Messages:
    37
    Likes Received:
    3
    Medals:
    it_twit submitted a new resource:

    NPCore - Create and manage NPCs

    Read more about this resource...
     
  2. MartinOdum

    MartinOdum Member

    Joined:
    Jan 26, 2017
    Messages:
    112
    Likes Received:
    13
    Amazing! This is a game changer! I have wanted to get rid of the citizens plugin for the longest time, I only use npc's as standing non moving npcs that players can right click on to open gui's so the citizens plugin is clogged with so many features i don't need. How would I got about replicating the "on npc rightclick" functionality but for an npc from npcore?
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    it_twit updated NPCore with a new update entry:

    Right Click Event

    Read the rest of this update entry...
     
  4. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    139
    Medals:
    it's pretty simple, really. Back when I made my npc script, i used the use entity packet to detect clicks on it and then did a manual distance check. unfortunately, this script doesn't allow you to get the entity id so that kind of check isn't possible unless you manually intercept the id from the spawn player packet which wouldn't be very reliable.
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
  6. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,236
    Likes Received:
    176
    Medals:
    Nice script you got here, although I don't see why you needlessly depend on skript-mirror, I'm sure MundoSK with ProtocolLib is capable of this.

    Also, you forgot MundoSK and ProtocolLib on the dependency list.
     
  7. it_twit

    it_twit Member

    Joined:
    Jan 26, 2017
    Messages:
    37
    Likes Received:
    3
    Medals:
    I was originally going to try and get this to work with no skript-mirror but I couldn't. The plan is still to move over as some point to just mundosk packets if I can get a better idea of how they work
     
  8. Vexio

    Vexio Active Member

    Joined:
    Jan 26, 2017
    Messages:
    92
    Likes Received:
    10
    Is there a recommended website for getting textures and signatures? I remember a site I found a long time ago but I can't find it anywhere.
     
  9. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,236
    Likes Received:
    176
    Medals:
    https://mineskin.org/
     
    • Like Like x 1

Share This Page

Loading...