jump.tf Forums
Welcome B)

Jump Server Essentials - Web API

AI · 1 · 2168

AI

  • Administrator
  • Proficient
  • *****
    • Posts: 417
    • Frags: +0/-0
  • Plugins Developer
    • View Profile
    • Jump Academy
[EDIT: This plugin has been deprecated and should not be used.  It has been replaced with a public JSON API.]

Jump Server Essentials is a modular plugin project intending to replace the aging Jump Assist server plugin.


This thread details a backend plugin with natives allowing other plugins to fetch from our web API through it.

At the moment, the web API supports the following:
  • Retrieving basic map information (map authors, tiers, # courses, jumps)

Here is a sample of a typical output from the map information API:

Code: [Select]
"mapinfo"
{
"jump_beef"
{
"authors"
{
"1"
{
"id" "76561198000421447"
"name" "Bevo"
}
}
"class" "3"
"type" "2"
"tier_s" "2"
"tier_d" "2"
"courses" "3"
"jumps" "20"
}
"jump_beefmas"
{
"authors"
{
"1"
{
"id" "76561198044015351"
"name" "Rob123"
}
}
"class" "3"
"type" "1"
"tier_s" "2"
"tier_d" "2"
"courses" "3"
"jumps" "20"
"bonus" "2"
}
"jump_academy_easy_d"
{
"authors"
{
"1"
{
"id" "76561197972470722"
"name" "Christoffer395"
}
}
"class" "3"
"type" "2"
"tier_s" "2"
"courses" "5"
"jumps" "58"
}
}
via http://api.jumpacademy.tf/mapinfo?map=beef,academy_easy_d

Scripting:
Plugin:
Dependencies:
« Last Edit: July 10, 2022, 09:32:59 PM by AI »