Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Updated to 4.8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Freenex1911 committed Dec 24, 2015
1 parent e949186 commit 71973b6
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 44 deletions.
72 changes: 37 additions & 35 deletions CommandAFK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,43 @@ namespace Freenex.EasyAFK
{
public class CommandExp : IRocketCommand
{
public string Name
{
get { return "afk"; }
}

public string Help
{
get { return "Set others afk or check if they're afk"; }
}

public string Syntax
{
get { return "<set/check/checkall> [<player>]"; }
}

public List<string> Aliases
{
get { return new List<string>(); }
}

public AllowedCaller AllowedCaller
{
get { return AllowedCaller.Player; }
}

public List<string> Permissions
{
get
{
return new List<string>()
{
"afk.set",
"afk.check"
};
}
}

public void Execute(IRocketPlayer caller, string[] command)
{
if (!caller.HasPermission("afk.set") && !caller.HasPermission("afk.check")) { return; }
Expand Down Expand Up @@ -121,40 +158,5 @@ public void Execute(IRocketPlayer caller, string[] command)
}
}

public string Help
{
get { return "Set others afk or check if they're afk"; }
}

public string Name
{
get { return "afk"; }
}

public string Syntax
{
get { return "<set/check/checkall> [<player>]"; }
}

public bool AllowFromConsole
{
get { return false; }
}

public List<string> Aliases
{
get { return new List<string>(); }
}
public List<string> Permissions
{
get
{
return new List<string>()
{
"afk.set",
"afk.check"
};
}
}
}
}
19 changes: 10 additions & 9 deletions EasyAFK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,36 @@
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil">
<HintPath>..\..\..\Unturned Dev DLL's\Mono.Cecil.dll</HintPath>
</Reference>
<Reference Include="Rocket.API, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\Rocket.API.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\Rocket.API.dll</HintPath>
</Reference>
<Reference Include="Rocket.Core, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\Rocket.Core.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\Rocket.Core.dll</HintPath>
</Reference>
<Reference Include="Rocket.Unturned, Version=4.6.3.1, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Rocket.Unturned, Version=4.6.4.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\Rocket.Unturned.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\Rocket.Unturned.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\Simon\Programme\Unturned\Unturned Dev DLL's\UnityEngine.dll</HintPath>
<HintPath>..\..\..\Unturned Dev DLL's\UnityEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 71973b6

Please sign in to comment.