Skip to content

Commit

Permalink
Merge pull request #22 from takunology/2.0.1-dev
Browse files Browse the repository at this point in the history
release 2.0.1
  • Loading branch information
Takumi Okawa authored Aug 20, 2022
2 parents 2ec54bd + ead2792 commit 9897979
Show file tree
Hide file tree
Showing 23 changed files with 52 additions and 16 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified MinecraftConnection/.vs/MinecraftConnection/v17/.suo
Binary file not shown.
10 changes: 10 additions & 0 deletions MinecraftConnection/MinecraftConnection/MinecraftCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ public string SetSubTitle(string subTitle)
{
return PublicRcon.Rcon.SendCommand($"title @a subtitle \"{subTitle}\"");
}

/// <summary>
/// Send a message to minecraft.
/// </summary>
/// <param name="message">message</param>
/// <returns></returns>
public string DisplayMessage(string message)
{
return PublicRcon.Rcon.SendCommand($"msg @a \"{message}\"");
}

/// <summary>
/// Fireworks are set off from the specified coordinates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<LangVersion>latest</LangVersion>
<Authors>Takumi Okawa (Takunology)</Authors>
<Company>Minecraft_with_Code_Project</Company>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<PackageId>MinecraftConnection</PackageId>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand All @@ -18,11 +18,9 @@
<Copyright>Copyright (c) 2021 Takumi Okawa (Takunology)</Copyright>
<PackageIconUrl />
<PackageTags>Minecraft</PackageTags>
<PackageReleaseNotes>Version 2.0.0
<PackageReleaseNotes>Version 2.0.1

- MinecraftConnection has undergone a disruptive change.
- Support for various languages has been added.
- We have tested up to Version 1.19.2</PackageReleaseNotes>
- Add DisplayMessage() method</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\netstandard2.0\publish\</PublishDir>
<PublishDir>bin\Release\netstandard2.1\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<History>True|2022-08-20T00:10:23.4166908Z;True|2022-02-15T21:50:15.1469967+09:00;</History>
<History>True|2022-08-20T01:40:40.1812269Z;True|2022-08-20T10:36:51.1034346+09:00;True|2022-08-20T09:10:23.4166908+09:00;True|2022-02-15T21:50:15.1469967+09:00;</History>
</PropertyGroup>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"MinecraftConnection/2.0.0": {
"MinecraftConnection/2.0.1": {
"dependencies": {
"System.Text.Json": "6.0.3"
},
Expand Down Expand Up @@ -104,7 +104,7 @@
}
},
"libraries": {
"MinecraftConnection/2.0.0": {
"MinecraftConnection/2.0.1": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"projects": {
"D:\\GitHub\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection.csproj": {
"version": "2.0.0",
"version": "2.0.1",
"restore": {
"projectUniqueName": "D:\\GitHub\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection.csproj",
"projectName": "MinecraftConnection",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>MinecraftConnection</id>
<version>2.0.1</version>
<authors>Takumi Okawa (Takunology)</authors>
<license type="expression">MIT</license>
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>MCLogo.png</icon>
<projectUrl>https://www.mcwithcode.com/</projectUrl>
<description>MinecraftConnection is a library for sending commands via RCON using C# to support you learn and automate your programming. It can be run on a vanilla server as well as a Spigot server, including plugins. Before running the program, you need to start a Minecraft server that allows RCON connections.</description>
<releaseNotes>Version 2.0.1

- Add DisplayMessage() method</releaseNotes>
<copyright>Copyright (c) 2021 Takumi Okawa (Takunology)</copyright>
<tags>Minecraft</tags>
<repository type="git" url="https://github.com/takunology/MinecraftConnection" />
<dependencies>
<group targetFramework=".NETStandard2.1">
<dependency id="System.Text.Json" version="6.0.3" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="D:\GitHub\MinecraftConnection\MinecraftConnection\MinecraftConnection\bin\Release\netstandard2.1\MinecraftConnection.dll" target="lib\netstandard2.1\MinecraftConnection.dll" />
<file src="D:\GitHub\MinecraftConnection\MinecraftConnection\MinecraftConnection\MCLogo.png" target="MCLogo.png" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright (c) 2021 Takumi Okawa (Takunology)")]
[assembly: System.Reflection.AssemblyDescriptionAttribute(@"MinecraftConnection is a library for sending commands via RCON using C# to support you learn and automate your programming. It can be run on a vanilla server as well as a Spigot server, including plugins. Before running the program, you need to start a Minecraft server that allows RCON connections.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.0.1")]
[assembly: System.Reflection.AssemblyProductAttribute("MinecraftConnection")]
[assembly: System.Reflection.AssemblyTitleAttribute("MinecraftConnection")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.1.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/takunology/MinecraftConnection")]

// MSBuild WriteCodeFragment クラスによって生成されました。
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1a69108a1ba5a96e1599f4a7f2e1f2e92c85fcc5
7578404fe2289ba3d2b07d19842f022e6678767b
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
},
"project": {
"version": "2.0.0",
"version": "2.0.1",
"restore": {
"projectUniqueName": "D:\\GitHub\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection.csproj",
"projectName": "MinecraftConnection",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "3RjWBqbSk5qYHuZGg679N+G4Cs4aDxm+zzcOcWdhwlJ4ksEJ8xqreeUO4EqDykhzbzDTVWoAhuqj/Q4vZzadcg==",
"dgSpecHash": "eSEuMfWVsHF5wshwvgM3idBP2BSW6bBCrw8txSNlEMPuUnKpKH8APVxGqo8oQjPSqXvDP0mlI5OQgFatX3co8w==",
"success": true,
"projectFilePath": "D:\\GitHub\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection\\MinecraftConnection.csproj",
"expectedPackageFiles": [
Expand Down

0 comments on commit 9897979

Please sign in to comment.