Skip to content

Commit

Permalink
Transitional syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMinekus committed Mar 6, 2016
1 parent e48ccda commit c46cc82
Show file tree
Hide file tree
Showing 24 changed files with 1,652 additions and 1,137 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
/addons/sourcemod/plugins/*
!addons/sourcemod/plugins/.gitkeep
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
sudo: false
language: c

addons:
apt_packages:
- lib32stdc++6

env:
- SOURCEMOD=1.7
- SOURCEMOD=1.8

before_script:
- mkdir build && cd build
- wget "http://www.sourcemod.net/latest.php?version=$SOURCEMOD&os=linux" -O sourcemod-$SOURCEMOD-linux.tar.gz
- tar -xzf sourcemod-$SOURCEMOD-linux.tar.gz
- cd addons/sourcemod/scripting
- chmod +x spcomp
- cp -R $TRAVIS_BUILD_DIR/addons/sourcemod/scripting/* .

script: ./compile.sh ircrelay.sp ircrelay-admin.sp ircrelay-bacon.sp ircrelay-chat.sp ircrelay-game.sp ircrelay-steam.sp

before_deploy:
- cp -R compiled/* $TRAVIS_BUILD_DIR/addons/sourcemod/plugins/
- cd $TRAVIS_BUILD_DIR
- tar -czf release.tar.gz addons/

deploy:
provider: releases
api_key:
secure: LMIcUbXAP1xyu/okSFkMVKylY3zrANY9B8ckIZriLbfvdbMXg0oi02pq5SnzCi3FAHVJdIO+d5kTDCtqVbNDIAHBRHY37knArl6+y44KgGVINn5wqtDlrzXSAYTftnLKLIKF+JwrtzZYTl/hRqPQ40ethHkzj/S/wdB9nvq80A8=
file: release.tar.gz
skip_cleanup: true
on:
tags: true
condition: $SOURCEMOD = 1.7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IRCRelay reports game events from your server to an IRC channel and allows admins to control their servers or chat with users ingame from IRC. Written for SourceMod.

Administrate your server directly from IRC using commands like msg, kick, rcon, players, info, and more (command character customizable)
Administrate your server directly from IRC using commands like msg, kick, rcon, players, info, and more (command character customizable)
24 changes: 12 additions & 12 deletions addons/sourcemod/configs/ircrelay/cstrike.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

"IRCRelay"
{
"Channels"
{
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
}
}
"Channels"
{
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
}
}
34 changes: 17 additions & 17 deletions addons/sourcemod/configs/ircrelay/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@

"IRCRelay"
{
"Channels"
{
"#MyPublicChannel" "public"
"#MyPrivateChannel" "private"
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
"4" "2"
"5" "7"
"6" "13"
}
}
"Channels"
{
"#MyPublicChannel" "public"
"#MyPrivateChannel" "private"
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
"4" "2"
"5" "7"
"6" "13"
}
}
24 changes: 12 additions & 12 deletions addons/sourcemod/configs/ircrelay/dod.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

"IRCRelay"
{
"Channels"
{
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "3"
"3" "4"
}
}
"Channels"
{
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "3"
"3" "4"
}
}
24 changes: 12 additions & 12 deletions addons/sourcemod/configs/ircrelay/hidden.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

"IRCRelay"
{
"Channels"
{
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "12"
"3" "4"
}
}
"Channels"
{
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "12"
"3" "4"
}
}
24 changes: 12 additions & 12 deletions addons/sourcemod/configs/ircrelay/hl2mp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

"IRCRelay"
{
"Channels"
{
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "12"
"3" "4"
}
}
"Channels"
{
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "12"
"3" "4"
}
}
24 changes: 12 additions & 12 deletions addons/sourcemod/configs/ircrelay/tf.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

"IRCRelay"
{
"Channels"
{
}
"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
}
}
"Channels"
{
}

"TeamColors"
{
"0" "15"
"1" "14"
"2" "4"
"3" "12"
}
}
Empty file.
Binary file removed addons/sourcemod/plugins/ircrelay-admin.smx
Binary file not shown.
Binary file removed addons/sourcemod/plugins/ircrelay-bacon.smx
Binary file not shown.
Binary file removed addons/sourcemod/plugins/ircrelay-chat.smx
Binary file not shown.
Binary file removed addons/sourcemod/plugins/ircrelay-game.smx
Binary file not shown.
Binary file removed addons/sourcemod/plugins/ircrelay-steam.smx
Binary file not shown.
Binary file removed addons/sourcemod/plugins/ircrelay.smx
Binary file not shown.
Loading

0 comments on commit c46cc82

Please sign in to comment.