Jump to content

Pexien

Member
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Pexien

  1. Pexien

    "skript"

    People who are often not as familiar with the terms used during development often make don't understand the differences between different development types of software development (those being scripts, interpretative languages, and compile-able languages) and as a result they don't use the proper terminology. It would not be completely wrong for a person with minimal to no coding experience to think that the file (script) in which they are editing can be defined as the language or architecture in which it is built upon. For example, one could say "Send the java script that you are working on" and it would be technically correct due to the fact that the person is requesting code written in java script. As for why people refer to people who are familiar/fluent with Skript as "skripters" may very well be similar to the reasons stated above, including the fact that in the English language often the name of an occupation and be reasonably figured out by adding "er" to the work that is being done, ex. Plumber (a person who works with plumbing), or Electrician (someone who works with electricity and electrical appliances.) There ignorance may not be without merit, this doesn't make them correct however, but it is in a sense understandable.
  2. So, recently I have been playing around with the Minehut API and making various server analytic services. I'm using jQuery/Ajax to make the different requests, I tried to get data from an endpoint which requires authorization, and I tried multiple things including sending the auth_token through the header, and I played around with other options within Insomnia; I haven't been able to successfully get any data which requires authorization, and this may be in part to the fact that I am relatively new to APIs and web development as opposed to more local and system services development, any help on how to add authorization to different requests would be great, thanks! API Documentation: https://pexien.github.io/Minehut/api-documentation/ (Luke's API documentation isn't working)
  3. I have been messing around with the minehut API and I noticed that every now and then the $.getJSON() function in jquery would either fail or time out, its nice to know that you guys are on top of this and working to keep minehut up and stable, along with some of its other services and aspects.
  4. execute console command "/menu open %player% MShop"
  5. Pexien

    Skript Text After Command

    yes, you can do that in skript, the text after the command doesn't only have to be text, it can be any object (number, item, text, player, etc.) and they are called arguments. so in skript if you want to use arguments in a command you can do the following command /command <text>: trigger: send "This is your argument: %arg-1%" to command executor You call a argument by typing arg followed by which argument it is set as in the command event (starting at 1 from left to right) You can also have multiple arguments, which follow the same structure as the first and you just refer to them as their order (arg-1, arg-2, arg-3, etc.)
×
×
  • Create New...