Skip to content

Instantly share code, notes, and snippets.

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active July 23, 2024 22:30
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@Mindgamesnl
Mindgamesnl / very nice.md
Last active August 18, 2023 14:52
Inventory holders, a quicky

Inventory holders can be used to register own types, handlers and data to a opened GUI for a player.

To start, we need to create our menu class that implemetns InventoryHolder and any other functions we may want. For this example, we are gonna fill the inventory and open it for player, then save the player for later ussage with our handler.

The menu

It will look something like this

import org.bukkit.Bukkit;
import org.bukkit.Material;
@stonar96
stonar96 / Anti-Xray.md
Last active June 6, 2024 12:01
Recommended Paper Anti-Xray settings by stonar96

❗ This has been moved to the official PaperMC docs ❗

Link: https://docs.papermc.io/paper/anti-xray

Help: https://discord.gg/papermc






Recommended Paper Anti-Xray settings by stonar96

General

Anti-Xray can be configured per world in the paper.yml configuration file. To understand how per world configuration works please read this first. Note that after changing any settings for Anti-Xray you have to restart your server. Executing the /reload command (you should never do this) won't apply the settings to worlds that are already loaded.

Tutoriales by Slaid.

Guía de uso de verbose con luckperms.

Esto te servirá para encontrar un permiso para un determinado comando, función y/o evento el cual no se encuentra especificado.

También para identificar un problema con jugadores que no tienen los permisos correctos.

Si tienes alguna sugerencia dímela por discord Sliide#0001 ;)

@Amgelo563
Amgelo563 / optimización-servidores-fabric.md
Last active July 6, 2022 08:20
Lista de pasos para la optimización de servidores Fabric

Optimización de Servidores Fabric

Fabric es un software alternativo a Forge que ha tomado popularidad en los últimos años de la comunidad modding de MC. Se caracteriza por ser mucho más liviano que Forge y más estable, además de contener muchos menos parches a Vanilla, haciéndolo muy accesible para servidores y clientes con bajos recursos que quieren experimentar MC Modding.

A continuación, algunos pasos que pueden servir para optimizar un servidor basado en Fabric.

Server.Properties

Entra al archivo server.properties, el cual puede ser encontrado en la carpeta madre del servidor. Una vez dentro, cambia las siguientes opciones:

@4drian3d
4drian3d / guia-update.md
Last active September 4, 2022 17:02
Como actualizar tus plugins facilmente gracias a la carpeta update

Actualizar plugins de Bukkit automaticamente despues de un reinicio.

Actualmente varios tienen el problema de no poder actualizar sus plugins en su servidor como es debido, ya que cuentan con una considerable cantidad de jugadores como para apagar por unos minutos su servidor, actualizar, y volverlo a encender o no tienen el tiempo suficiente para realizar este proceso. Por ello, existe una solución que está presente en todas las versiones actuales de CraftBukkit, Spigot, PaperSpigot, Paper, Tuinity y forks... llamada update. Esta función sirve para colocar los plugins en una carpeta llamada update que encontraras en tu servidor, colocar las actualizaciones de los plugins, y al momento de reiniciar, se aplicaran los cambios automáticamente.

Para hacer funcional esta opcion, debes tener en cuenta:

  • **Este requerimiento solo aplica para versiones antiguas (<1.18.1), en versiones actuales simplemente debes colocar el plugin en la carpeta de update y se actualizara sin importar el nombre de archiv

Guia del uso de MiniMessage

Hola, gracias por tu interes en usar este formato, aqui te enseñare las formas de utilizarlo.

Puedes probar todos los formatos mostrados aqui o los tuyos propios antes de usarlos en producción en MiniMessageViewer

Si quieres traducir un texto en formato legacy & o §, puedes usar el conversor https://tehbrian.xyz/legacy-to-minimessage/

Entendiendo el formato

Al usar MiniMessage puedes abrir una etiqueta para que le de formato a todo el texto:

@jonakls
jonakls / mandamientos-configurador.md
Last active January 10, 2024 12:41
Mandamientos del Configurador

10 MANDAMIENTOS DEL CONFIGURADOR


Estos son los 10 mandamientos para todo configurador de servidores Spigot, Paper, Bukkit, BungeeCord y Velocity.

Este pequeño gist es realizado con la intencion de hacer entender dudas basicas y hacer entender al configurador lo que realmente hace.