Skip to content

Instantly share code, notes, and snippets.

View aimbot6120's full-sized avatar

Pranay Pandit aimbot6120

View GitHub Profile
@aimbot6120
aimbot6120 / buy_list.yml
Created May 17, 2024 13:03
NPC configuration for alchemist for the trade plugin. Visit xgaming.club
IRON_INGOT: 4
EMERALD: 15
DIAMOND: 10
@aimbot6120
aimbot6120 / quest.lua
Last active May 17, 2024 10:37
Quest generation script for eclipse time. More at xgaming.club
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local HttpService = game:GetService("HttpService")
local apiEvent = ReplicatedStorage:WaitForChild("api_event")
local function callQuestGeneratorAPI()
local url = "https://authdev.xgaming.club/xquest/generate"
local data =
{
goal = "Player crash landed near a cave and needs to learn to hunt",
key = "6mgxg5y2",
@aimbot6120
aimbot6120 / eclipse.json
Created May 17, 2024 09:51
Demo json for eclipse time
{
"fields": {
"noun": {
"desc": "Choose the creature to interact with:",
"data": [
{
"Bat": "The bats on this plane are way bigger and fierce than the ones on the earth. Their fangs can pierce a giant’s skin easily."
},
{
"Spider": "Spiders of this planet are not only bigger, but also more venomous. They have no trouble in defeating Monsters with it."
@aimbot6120
aimbot6120 / init.json
Created May 17, 2024 09:47
JSON schema for the quest generation endpoint | Find more at xgaming.club
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"fields": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "object",
"properties": {
@aimbot6120
aimbot6120 / list.yml
Created May 15, 2024 08:01
Example - buy_list and sell_list
WHEAT: 3
CARROT: 2
POTATO: 2
BEETROOT: 4
PUMPKIN: 5
MELON: 4
BREAD: 6
APPLE: 4
@aimbot6120
aimbot6120 / quest.java
Created May 14, 2024 13:19
Quest generation api snip for minecraft bukkit. Visit XGaming.club for more!
package org.xgaming.questsample.External;
import kong.unirest.HttpResponse;
import kong.unirest.JsonNode;
import kong.unirest.Unirest;
import kong.unirest.UnirestException;
import kong.unirest.json.JSONObject;
import java.util.List;
import java.util.logging.Level;
@aimbot6120
aimbot6120 / quest.lua
Created May 14, 2024 13:09
Using XGaming quest API in lua. Visit xgaming.club
local function callQuestGeneratorAPI()
local url = "https://authdev.xgaming.club/xquest/generate"
local data =
{
goal = "",
key = "abcd1234",
fields = {
},
n = 1,
story = ""
@aimbot6120
aimbot6120 / quest.java
Last active May 4, 2024 09:03
Quest Generate Examples
//for bukkit plugins
package org.xgaming.questsample.External;
import kong.unirest.HttpResponse;
import kong.unirest.JsonNode;
import kong.unirest.Unirest;
import kong.unirest.UnirestException;
import kong.unirest.json.JSONObject;
import java.util.List;
@aimbot6120
aimbot6120 / quest.lua
Created May 4, 2024 02:51
Lua Quest Generate
local function callQuestGeneratorAPI()
local url = "https://authdev.xgaming.club/xquest/generate"
local data =
{
goal = "The player just crash landed on the plant near a cave. He needs to survive",
key = "abcd1234",
fields = {
"verb",
"noun"