from commands.client import ClientCommand from filters.players import PlayerIter # ====================================================================== # >> GLOBALS # ====================================================================== # Plugin info info = PluginInfo() info.name = 'Hero-Wars' info.author = 'Mahi' info.version = '0.6.1' info.basename = 'hw' info.variable = "{0}_version".format(info.basename) # Public variable for plugin info info.convar = PublicConVar( info.variable, info.version, 0, "{0} Version".format(info.name) ) # Translation messages exp_messages = get_messages(LangStrings('hw/exp')) gold_messages = get_messages(LangStrings('hw/gold')) other_messages = get_messages(LangStrings('hw/other'))
# ../dissolver/info.py """Provides/stores information about the plugin.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Source.Python Imports # Cvars from cvars.public import PublicConVar # Plugins from plugins.info import PluginInfo # ============================================================================= # >> PLUGIN INFO # ============================================================================= info = PluginInfo() info.name = 'Dissolver' info.author = 'Satoon101' info.version = '1.1' info.basename = 'dissolver' info.variable = info.basename + '_version' info.url = '' info.convar = PublicConVar(info.variable, info.version, info.name + ' Version')
from wcgo.player import Player from wcgo.player import PlayerIter from wcgo.tools import get_messages from wcgo.tools import find_element # ====================================================================== # >> GLOBALS # ====================================================================== # Plugin info info = PluginInfo() info.name = 'Warcraft: GO' info.author = 'Mahi' info.version = '0.6.1' info.basename = 'wcgo' info.variable = "{0}_version".format(info.basename) # Public variable for plugin info info.convar = PublicConVar(info.variable, info.version, 0, "{0} Version".format(info.name)) # Experience Values exp_values = cfg._retrieve_exp_values(cfg.exp_multiplier) # Translation messages exp_messages = get_messages(LangStrings('wcgo/exp'), HintText) gold_messages = get_messages(LangStrings('wcgo/gold'), SayText2) other_messages = get_messages(LangStrings('wcgo/other'), SayText2) # ====================================================================== # >> FUNCTIONS
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "LimitZones (Editor)" info.basename = 'limit_zones_editor' info.author = 'Kirill "iPlayer" Mysnik' info.version = '1.0' info.variable = '{}_version'.format(info.basename) info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "https://github.com/KirillMysnik/SP-LimitZones"
# This file is part of ArcJail. # # ArcJail is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ArcJail is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with ArcJail. If not, see <http://www.gnu.org/licenses/>. from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "ArcJail" info.basename = 'arcjail' info.author = 'Kirill "iPlayer" Mysnik' info.version = '1.0' info.variable = '{}_version'.format(info.basename) info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "http://arcjail.ru/"
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "Simple DeathMatch" info.basename = 'simple_deathmatch' info.author = 'Kirill "iPlayer" Mysnik' info.version = '0.1' info.variable = 'sdm_version' info.convar = PublicConVar(info.variable, info.version, "{} version".format(info.name))
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "Map Cycle" info.basename = 'map_cycle' info.author = 'Kirill "iPlayer" Mysnik' info.version = '2.0' info.variable = 'mc_version' info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "https://github.com/KirillMysnik/sp-map-cycle"
# ../victim_stats/info.py """Provides/stores information about the plugin.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Source.Python Imports # Cvars from cvars.public import PublicConVar # Plugins from plugins.info import PluginInfo # ============================================================================= # >> PLUGIN INFO # ============================================================================= info = PluginInfo() info.name = "Victim Stats" info.author = "Satoon101" info.version = "1.0" info.basename = "victim_stats" info.variable = info.basename + "_version" info.url = "" info.convar = PublicConVar(info.variable, info.version, 0, info.name + " Version")
# ../cut_wire/info.py """Provides/stores information about the plugin.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Source.Python Imports # Cvars from cvars.public import PublicConVar # Plugins from plugins.info import PluginInfo # ============================================================================= # >> PLUGIN INFO # ============================================================================= info = PluginInfo() info.name = 'Cut Wire' info.author = 'Satoon101' info.version = '1.1' info.basename = 'cut_wire' info.variable = info.basename + '_version' info.url = 'http://forums.sourcepython.com/showthread.php?779' info.convar = PublicConVar(info.variable, info.version, 0, info.name + ' Version')
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "War3 Extended" info.author = "necavi" info.version = "0.1" info.basename = "wcx" info.variable = info.basename + "_version" info.convar = PublicConVar(info.variable, info.version, 0, info.name + " Version")
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "KillerInfo" info.basename = 'killerinfo' info.author = 'Luka "craziest" Volovec' info.version = '0.1' info.variable = 'killerinfo_version' info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "https://github.com/craziest/sp-killerinfo"
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "iPlayer's Killstreaker" info.basename = 'ip_killstreaker' info.author = 'Kirill "iPlayer" Mysnik' info.version = '2.0' info.variable = 'ipk_version' info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "https://github.com/KirillMysnik/sp-killstreaker"
from cvars.public import PublicConVar from plugins.info import PluginInfo info = PluginInfo() info.name = "TripMines" info.basename = 'tripmines' info.author = 'Kirill "iPlayer" Mysnik' info.version = '0.2' info.variable = 'tm_version' info.convar = PublicConVar( info.variable, info.version, "{} version".format(info.name)) info.url = "https://github.com/KirillMysnik/sp-tripmines"