Skip to content

Instantly share code, notes, and snippets.

@Gamecube762
Gamecube762 / PrintHelp.txt
Last active November 24, 2022 09:23
A dump of the root table for TF2's VScript beta. This contains all available interfaces at the time of the dump.
Function: AddThinkToEnt
Signature: void AddThinkToEnt(handle, string)
Description: Adds a late bound think function to the C++ think tables for the obj
Function: AllowThirdPersonCamera
Signature: bool AllowThirdPersonCamera()
Function: ArePlayersInHell
Signature: bool ArePlayersInHell()
@Gamecube762
Gamecube762 / debug_dispenser_OnDestroy.vmf
Last active August 14, 2019 19:42
TF2 map for debugging obj_dispencer 's OnDestroy output
versioninfo
{
"editorversion" "400"
"editorbuild" "7937"
"mapversion" "5"
"formatversion" "100"
"prefab" "0"
}
visgroups
{
@Gamecube762
Gamecube762 / SteamTradeShowAppIDs.js
Created July 31, 2018 04:36
A simpleTampermonkey script that shows the SteamAppID of each item in the trade window.
// ==UserScript==
// @name Steam Trade Show AppIDs
// @namespace https://github.com/gamecube762
// @version 0.1
// @description A simpleTampermonkey script that shows the SteamAppID of each item in the trade window. Example: https://i.imgur.com/lKRjyvj.png
// @author Gamecube762
// @match https://steamcommunity.com/tradeoffer/*
// @grant none
// ==/UserScript==
@Gamecube762
Gamecube762 / tf_compwinnerstage.vmf
Created March 1, 2016 18:36
Winner's Stage found at the end of a TF2 CompBeta match. Extracted from koth_viaduct with BSPSource v1.3.21
versioninfo
{
"editorversion" "400"
"editorbuild" "7063"
"mapversion" "2"
"formatversion" "100"
"prefab" "0"
}
world
{
@Gamecube762
Gamecube762 / JsonMessages.java
Last active May 29, 2016 19:15
Bukkit | Send Json Chat Messages to Players
package <you.package.path>;
import net.minecraft.server.v1_7_R1.ChatSerializer;
import net.minecraft.server.v1_7_R1.PacketPlayOutChat;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer;
import org.bukkit.entity.Player;
//made by Gamecube762
//Simple way to send Json Chat messages to players