diff --git a/MyMcRealms/Controllers/InvitesController.cs b/MyMcRealms/Controllers/InvitesController.cs index 83497f1..808c4d6 100644 --- a/MyMcRealms/Controllers/InvitesController.cs +++ b/MyMcRealms/Controllers/InvitesController.cs @@ -105,5 +105,11 @@ namespace MyMcRealms.Controllers return Ok(true); } + + [HttpDelete("{wId}")] + public ActionResult LeaveRealms(int wId) + { + return BadRequest("You wish lmao"); + } } } \ No newline at end of file diff --git a/MyMcRealms/Controllers/SubscriptionsController.cs b/MyMcRealms/Controllers/SubscriptionsController.cs new file mode 100644 index 0000000..87c8f9b --- /dev/null +++ b/MyMcRealms/Controllers/SubscriptionsController.cs @@ -0,0 +1,17 @@ +using Microsoft.AspNetCore.Mvc; +using MyMcRealms.Attributes; + +namespace Minecraft_Realms_Emulator.Controllers +{ + [Route("[controller]")] + [ApiController] + [RequireMinecraftCookie] + public class SubscriptionsController : ControllerBase + { + [HttpGet("{id}")] + public ActionResult GetSubscription(int id) + { + return BadRequest("No subscription for you :("); + } + } +} \ No newline at end of file diff --git a/MyMcRealms/Controllers/WorldsController.cs b/MyMcRealms/Controllers/WorldsController.cs index 54a430d..f980a6a 100644 --- a/MyMcRealms/Controllers/WorldsController.cs +++ b/MyMcRealms/Controllers/WorldsController.cs @@ -131,6 +131,18 @@ namespace MyMcRealms.Controllers return Ok(response); } + [HttpPost("{wId}")] + public ActionResult UpdateRealms(int wId) + { + return BadRequest("You can change the MOTD trough server.properties file"); + } + + [HttpPost("{wId}/reset")] + public ActionResult ChangeSlot(int id) + { + return BadRequest("lol nice try"); + } + [HttpPut("{id}/open")] public async Task> Open(int id) { @@ -161,6 +173,18 @@ namespace MyMcRealms.Controllers return Ok(true); } + [HttpPost("{wId}/slot/{sId}")] + public ActionResult UpdateSlot(int wId, int sId) + { + return BadRequest("no."); + } + + [HttpGet("{wId}/slot/{sId}/download")] + public ActionResult GetBackups(int wId, int sId) + { + return BadRequest("Wouldn't it be nice if you could download your world to singleplayer? Well I think that too"); + } + [HttpGet("v1/{wId}/join/pc")] public async Task> Join(int wId) {