Search results

  • 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 community!

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

  1. MartinOdum

    How to put a tooltip in a variable?

    I'm unsure of what exactly you wish to do to be honest but the reason I'd like to store json chat message stuff like tooltips and whatnot in variables is because I have json in my chat, and everyone's prefixes are not the same so my actual code is alot more complicated but the one below is a...
  2. MartinOdum

    How to put a tooltip in a variable?

    hope he adds support for this eventually, this is why I'm still using json.sk rather than the built in json chat support
  3. MartinOdum

    Addon SkStuff

    Hey I'm using your skstuff fork on 1.12.2 Dev32b. I was wondering if you have a build of it with worldguard support removed? I noticed some of the vanilla skript worldguard support doesn't work with Skstuff installed, for example if I parse a text as a region it will not work, but as soon as I...
  4. MartinOdum

    Addon skript-db

    Hey is there any way to run sql code under a return function? Basically I have a bank system and I'd like to have a function that would return the player's bank balance and then I would just run the function under async, the code below is what I'm talking about function checkbankbalance(p...
  5. MartinOdum

    Solved way to freeze players

    If i remember correctly if you hold w and spam space really fast you can move
  6. MartinOdum

    Solved way to freeze players

    I made a function for this a while ago, you must have skellett installed for the metadata syntax, if you don't have it or want to install it then just edit my code to use a variable instead of metadata, here you go: function freezeplayer(p: player , forceyaw&pitch: boolean): if metadata...
  7. MartinOdum

    Solved Staff Auth getting IPS?

    Yeah Ip addresses change often, I made something like this a while back and what I did was I would store the last ip they successfully logged in with and every time they joined the server if the ip matched it would not ask for any sort of login credentials but if their ip didn't match then it...
  8. MartinOdum

    Addon skript-db

    good idea, I'll probably switch to that, thanks! Ah i see, thanks for the info and quick reply!
  9. MartinOdum

    Addon skript-db

    Hello, I'm switching from skellett's mysql to this and I ran into an issue command /mysqltest: trigger: execute "INSERT INTO data (`uuid`, `displayname`, `username`, `first login`, `last login`) VALUES (%uuid of player%, %display name of player%, %name of player%, %year from date...
  10. MartinOdum

    Even time....

    Donut gave you the expression and function you can use to round a number with a decimal and the reason HiddenDev's code lets you claim over and over again is because he didn't set the variable to now when you successfully claim the reward. Easy fixes
  11. MartinOdum

    Solved Functions

    replace {_player} with {_p} unless you change "(p: player)" to "(player: player)" the first value is the local variable you will use in the function and the second one is the type of value you will input so you can make the first value anything you want but you have to remember to call it...
  12. MartinOdum

    Solved MySQL spitting errors [SKELLETT]

    Dev32 broke something about mysql for skellett, no idea if we're gonna get a fix since LimeGlass is currently recoding skellett. You can see someone else has also reported the issue below https://github.com/bensku/Skript/issues/955
  13. MartinOdum

    Solved Problem with Skquery-lime i think?

    he pushed an update for it not long ago that fixed a Dev32 compatibility issue, are you updated to the latest?
  14. MartinOdum

    Addon Skellett - The beast addon!

    Yeah my mysql stuff broke on dev 32 aswell, hopefully you can get it fixed soon lime
  15. MartinOdum

    News Launch of Premium Resources!

    This is pretty cool, the opportunity to make a few extra bucks is nice, excited to see what people release
  16. MartinOdum

    Solved Scoreboard

    I briefly looked over your code and while its not the most efficient it should work just fine however this is an issue I personally experienced with skrayfall scoreboards and I never found a solution to it, basically if you update the scoreboard for one player it will update the scoreboard to...
  17. MartinOdum

    Metadata not working?

    It could be paperspigot, I don't know much about it but that seems to be the only difference in our setups, we have the same skript version and are both on 1.12
  18. MartinOdum

    Metadata not working?

    Okay, so the metadata is not being set, try a super basic code like this and let me know if you get <none> command /metadatatest: trigger: set metadata value "Special" of world "%player's world%" to "svetluska" wait 1 seconds send "&a%metadata value ""Special"" of...
  19. MartinOdum

    Metadata not working?

    Oh, well thats odd, I tested this variant from your code and it works fine for me on shoot: set meta data "Special" of projectile to "svetluska" on projectile hit: if projectiles is an arrow: broadcast "&a%metadata value ""Special"" of event-projectile%" I'm on 1.12.2, dev29...
  20. MartinOdum

    Metadata not working?

    broadcast "&a%metadata value ""Special"" of event-projectile%" its event-projectile not shot projectile