Skip to content

Commit 4769a85

Browse files
chore: add plugins from Discord [skip ci]
1 parent ab6c9c9 commit 4769a85

3 files changed

Lines changed: 51 additions & 1 deletion

File tree

.last_message_id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1522340767845056776
1+
1523558282382545027

plugins.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[
2+
{
3+
"author": "dwxgoatgroup",
4+
"name": "jobid.iy",
5+
"description": "jobid.iy plugin for Infinite Yield",
6+
"url": "https://raw.githubusercontent.com/corecommit/plugin-store/main/plugins/jobid.iy",
7+
"message_id": "1523558282382545027"
8+
},
29
{
310
"author": "h",
411
"name": "yesMommy.iy",

plugins/jobid.iy

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
local Plugin = {
2+
["PluginName"] = "jobid",
3+
["PluginDescription"] = "This plugin lets you join and copy jobid's",
4+
["Commands"] = {
5+
["joinjobid"] = {
6+
["ListName"] = "joinjobid / jid / joinid [jobid]",
7+
["Description"] = "Teleports you to a specific server.",
8+
["Aliases"] = {"jid", "joinid"},
9+
["Function"] = function(args, speaker)
10+
if args[1] then
11+
-- thanks to Amity for fixing
12+
local servers = {}
13+
local req = game:HttpGet("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Desc&limit=100&excludeFullGames=true")
14+
local body = game:GetService("HttpService"):JSONDecode(req)
15+
16+
if body and body.data then
17+
for i, v in next, body.data do
18+
if type(v) == "table" and v.id == getstring(1, args) then
19+
table.insert(servers, 1, v.id)
20+
end
21+
end
22+
end
23+
24+
if #servers > 0 then
25+
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, servers[math.random(1, #servers)], game:GetService("Players").LocalPlayer)
26+
else
27+
notify("Error", "Couldn't find that specific server")
28+
end
29+
end
30+
end
31+
},
32+
["copyjobid"] = {
33+
["ListName"] = "copyjobid / cid",
34+
["Description"] = "Copies the job id",
35+
["Aliases"] = {"cid"},
36+
["Function"] = function(args, speaker)
37+
everyClipboard(game.JobId)
38+
end
39+
}
40+
}
41+
}
42+
43+
return Plugin

0 commit comments

Comments
 (0)