-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6765315
Showing
163 changed files
with
12,779 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.hg* | ||
build/nant-0.92/* | ||
build/release/* | ||
build/app/* | ||
src/packages/* | ||
src/Plugins/CCG/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nant-0.92\nant.exe | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nant-0.92\nant.exe clean | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<project name="MBCon Build" default="release" basedir="."> | ||
<property name="configuration" value="Release" /> | ||
<property name="dir.source" value="${project::get-base-directory()}\..\src" /> | ||
<property name="dir.app" value="${project::get-base-directory()}\app" /> | ||
<property name="dir.release" value="${project::get-base-directory()}\release" /> | ||
<property name="dir.pluginsource" value="${project::get-base-directory()}\..\src\Plugins" /> | ||
<property name="dir.plugins" value="${project::get-base-directory()}\app\plugins" /> | ||
|
||
<property name="versionString" value="0-0-0-0"/> | ||
|
||
<target name="release" depends="set.version, clean, build, collect, plugintemplate, zip" /> | ||
|
||
<target name="setVersionString"> | ||
<loadfile file="versioninfo.txt" property="versionString" /> | ||
<echo message= "Old Version: ${versionString}" /> | ||
<property name="major" value="${version::get-major(version::parse(versionString))}" /> | ||
<property name="minor" value="${version::get-minor(version::parse(versionString))}" /> | ||
<property name="build" value="${version::get-build(version::parse(versionString))}" /> | ||
<property name="revision" value="${version::get-revision(version::parse(versionString))}" /> | ||
<property name="versionString" value="${major}.${minor}.${build}.${revision}"/> | ||
</target> | ||
|
||
<target name="set.version" depends="setVersionString" description="generates the version number"> | ||
<echo message="Setting the build version to ${versionString}..." /> | ||
<attrib file="${dir.source}\MBCon\Properties\AssemblyInfo.cs" readonly="false" /> | ||
<asminfo output="${dir.source}\MBCon\Properties\AssemblyInfo.cs" language="CSharp"> | ||
<imports> | ||
<import namespace="System" /> | ||
<import namespace="System.Reflection" /> | ||
</imports> | ||
<attributes> | ||
<attribute type="AssemblyTitleAttribute" value="MBCon" /> | ||
<attribute type="AssemblyCompanyAttribute" value="Maca134" /> | ||
<attribute type="AssemblyProductAttribute" value="MBCon" /> | ||
<attribute type="AssemblyCopyrightAttribute" value="Copyright 2015" /> | ||
<attribute type="AssemblyVersionAttribute" value="${versionString}" /> | ||
<attribute type="AssemblyFileVersionAttribute" value="${versionString}" /> | ||
</attributes> | ||
</asminfo> | ||
<attrib file="${dir.source}\MBCon\Properties\AssemblyInfo.cs" readonly="true" /> | ||
</target> | ||
|
||
<target name="clean" description="Delete all previously compiled binaries."> | ||
<delete> | ||
<fileset basedir="${dir.source}"> | ||
<include name="**/bin/**" /> | ||
<include name="**/obj/**" /> | ||
<include name="**/*.suo" /> | ||
<include name="**/*.user" /> | ||
</fileset> | ||
</delete> | ||
<delete dir="${dir.app}" failonerror="false" /> | ||
<mkdir dir="${dir.app}" /> | ||
<mkdir dir="${dir.release}" /> | ||
</target> | ||
|
||
<target name="build" description=""> | ||
<msbuild project="${dir.source}\MBCon.sln"> | ||
<property name="Configuration" value="${configuration}"/> | ||
</msbuild> | ||
</target> | ||
|
||
<target name="collect" description=""> | ||
<copy todir="${dir.app}"> | ||
<fileset basedir="${dir.source}/MBCon/bin/${configuration}"> | ||
<include name="**/*" /> | ||
<exclude name="**/*.pdb" /> | ||
<exclude name="**/*.xml" /> | ||
</fileset> | ||
</copy> | ||
<mkdir dir="${dir.plugins}" /> | ||
|
||
<foreach item="Folder" in="${dir.pluginsource}" property="foldername"> | ||
<mkdir dir="${dir.plugins}\${path::get-file-name(foldername)}" /> | ||
<copy todir="${dir.plugins}\${path::get-file-name(foldername)}" includeemptydirs="false"> | ||
<fileset basedir="${foldername}/bin/${configuration}"> | ||
<include name="**/*" /> | ||
<exclude name="**/*.pdb" /> | ||
<exclude name="**/*.xml" /> | ||
</fileset> | ||
</copy> | ||
</foreach> | ||
</target> | ||
|
||
<target name="plugintemplate" description=""> | ||
<zip zipfile="${dir.app}\pluginTemplate.zip"> | ||
<fileset basedir="${dir.source}\MBConTestPluginVSTemplate" > | ||
<include name="**/*" /> | ||
</fileset> | ||
</zip> | ||
</target> | ||
|
||
<target name="zip" description=""> | ||
<delete dir="${dir.plugins}\CCG" failonerror="false" /> | ||
<delete dir="${dir.plugins}\TestPlugin" failonerror="false" /> | ||
<zip zipfile="${dir.release}/mbcon-${versionString}.zip"> | ||
<fileset basedir="${dir.app}" > | ||
<include name="**/*" /> | ||
</fileset> | ||
</zip> | ||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# MBCon # | ||
|
||
MBCon is a C# (.NET) [BattlEye](http://www.battleye.com/) RCON client for ARMA 2/3 servers. It uses a simple plugin system to make it easy to extend. (BattleNET is included at the moment as there is a missing BE command, this will be changed to nuget soon). | ||
|
||
### Included Plugins ### | ||
|
||
- Console: Simply outputs stuff to a console window. | ||
- Logger: Logs various BE events to logs. | ||
- PlayerCheck: Can be used as a "global" bans list or a whitelister, using a file, http request or mysql database. | ||
- BEFilterMonitor: Watches bans.txt and filters and reloads them when changed. | ||
- RestartMessage: A simple plugin to do restart messages. | ||
- ScheduledTasks: Perform BE commands at certain times. | ||
- SimpleMessages: Sends messages to server at certain intervals. | ||
- WebLogger: Sends logs to a URL. | ||
- WebRcon: A very experimental plugin to allow access to a web-based RCON client. | ||
|
||
### Basic Usage ### | ||
|
||
Edit the main config.ini, pointing to the active servers be config and start mbcon.exe. | ||
|
||
### Donate ### | ||
|
||
If you like this app and use it, please consider donating via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=95G5FZ8PSW63W) or becoming a [Patreon](https://www.patreon.com/maca134). |
Oops, something went wrong.