Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on August 7, 2015 at 08:58 PM

Section 1 (C++)


/* 
	TERRITORY_CONFIG_ALLOWED_GLOBAL_PROPSPAWN

	If set to false then
		No one allowed to spawn props outside a territory
	If set to true then
		Prop spawn allowed everywhere except territories with prop spawn 
		alowed for owners / not allowed
*/
TERRITORY_CONFIG_ALLOWED_GLOBAL_PROPSPAWN = true


/*
	TERRITORY_CONFIG_STRIP_BUILDWEAPONS

	If set to true then 
		Tool and phys gun avalible for everyone / owners only at territory with 
		prop spawn enabled for everyone / owners.
	If set to false then
		Tool and physgun avalible everywhere

	Do not forget to remove gmod_tool and weapon_physgun from GM.Config.DefaultWeapons
*/
TERRITORY_CONFIG_STRIP_BUILDWEAPONS = false


/*
	TERRITORY_CONFIG_DISABLEOWNERSHIP_TO_ALL_DOORS

	If set to true then
		All doors outside a territory will become non-ownable
	If set to false then
		All doors outside a territory will become ownable 
		(however you can disable it's ownership through default door menu)
*/
TERRITORY_CONFIG_DISABLEOWNERSHIP_TO_ALL_DOORS = false

/*
	TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_TOOLGUN

	If set to true then
		Territory box will be visible if player is holding a toolgun
	Otherwise set to false

	(however territory outline is stil visible if you are holding a toolgun and select a Territroy maker as a tool)
*/
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_TOOLGUN = false

/*
	TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_PHYSGUN

	If set to true then
		Territory box will be visible if player is holding a physgun
	Otherwise set to false

	(however territory outline is stil visible if you are holding a toolgun and select a Territroy maker as a tool)
*/
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_PHYSGUN = false

/*
	TERRITORY_CONFIG_SELL_MULTIPLIER

	Sell price is equal to original price multiplied by TERRITORY_CONFIG_SELL_MULTIPLIER value
*/
TERRITORY_CONFIG_SELL_MULTIPLIER = 0.5

/*
	checkRights

	Admins can spawn props where they want, also toolgun / physgun avalible for them everywhere 
*/
function checkRights(ply)
	return ply:IsAdmin() // replace this with admin system you are using
end

/* 
	TRANSLATIONS
*/
TERRITORY_LANGUAGE_CANT_AFFORD = "You cannot afford this."

TERRITORY_LANGUAGE_OWNER_ADDED = "Owner added successfully."

TERRITORY_LANGUAGE_OWNER_REMOVED = "Owner removed successfully."

TERRITORY_LANGUAGE_PURCHASE_FOR = "Buy for %i$."

TERRITORY_LANGUAGE_AVALIBLE_FOR = "Avalible for %i$"

TERRITORY_LANGUAGE_OWNED_BY = "Owned by %s."

TERRITORY_LANGUAGE_SURE = "Are you sure?"

TERRITORY_LANGUAGE_YES = "Yes"

TERRITORY_LANGUAGE_NO = "No"

TERRITORY_LANGUAGE_SELL_FOR = "Sell for %i$."

TERRITORY_LANGUAGE_ADD_OWNER = "Add owner"

TERRITORY_LANGUAGE_REMOVE_OWNER = "Remove owner"

TERRITORY_LANGUAGE_NONE = "Noone avalible"

TERRITORY_LANGUAGE_PROP_SPAWN_NOT_ALLOWED = "Prop spawn not allowed here"

/* 
	UI Colors
*/
COLOR_WHITE = Color(255, 255, 255, 255) // text color

COLOR_HOVER = Color(241, 209, 94, 255) // golden color

COLOR_BLACK = Color(0, 0, 0, 255) // background color

COLOR_OUTLINE= Color(0, 0, 0, 255) // outline color