Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@mineapi/achievements
Advanced tools
Do you need my help? Visit our Discord server.
Node Version: 16.16.0
npm i @mineapi/achievements --save
# or
yarn add @mineapi/achievements
// CJS
// const { Achievement } = require("@mineapi/achievements");
// ESM
import { Achievement } from "../src";
import Express from "express";
const app = Express();
app.get('/generate', async (req, res) => {
if (!req.query.title) return res.status(400).send('Missing title');
if (!req.query.description) return res.status(400).send('Missing description');
if (!req.query.icon) return res.status(400).send('Missing icon');
const achievement = new Achievement({ title: req.query.title, description: req.query.description, icon: req.query.icon });
const image = await achievement.create();
res.setHeader('Content-Type', 'image/png');
res.setHeader('Content-Disposition', 'filename="achievement.png"');
res.end(image);
});
app.get("/icons", (req, res) => {
res.end(Achievement.getIcons());
});
app.listen(3000, () => {
console.log("Server started on port 3000");
});
[
"apple",
"arrow",
"bed",
"bedrock",
"blazePowder",
"blazeRod",
"blockOfDiamond",
"blockOfGold",
"blockOfIron",
"boat",
"bone",
"bonemeal",
"book",
"bottleOfEnchanting",
"bottle",
"bow",
"bowl",
"bread",
"brewingStand",
"bucket",
"cake",
"chainmailBoots",
"chainmailChestplate",
"chainmailHelmet",
"chainmailLeggings",
"charcoal",
"chest",
"coalOre",
"coal",
"cobblestone",
"compass",
"cookedChicken",
"cookedFish",
"cookedPorkchop",
"cookie",
"diamondAxe",
"diamondBoots",
"diamondChestplate",
"diamondHelmet",
"diamondHoe",
"diamondLeggings",
"diamondOre",
"diamondPickaxe",
"diamondShovel",
"diamondSword",
"diamond",
"dirt",
"dragonEgg",
"egg",
"enchantmentTable",
"enderPearl",
"eyeOfEnder",
"feather",
"fenceGate",
"fence",
"flintAndSteel",
"flint",
"furnance",
"glowstoneDust",
"goldApple",
"goldAxe",
"goldBoots",
"goldChestplate",
"goldHelmet",
"goldHoe",
"goldIngot",
"goldLeggings",
"goldNugget",
"goldOre",
"goldPickaxe",
"goldShovel",
"goldSword",
"grass",
"ironAxe",
"ironBoots",
"ironChestplate",
"ironHelmet",
"iron_hoe",
"ironIngot",
"ironLeggings",
"ironOre",
"ironPickaxe",
"ironShovel",
"ironSword",
"ladder",
"lapisLazuli",
"lavaBucket",
"leather",
"leatherBoots",
"leatherChestplate",
"leatherHelmet",
"leatherLeggings",
"melonSlice",
"milkBucket",
"minecart",
"musicDisk",
"obdisian",
"paper",
"piston",
"potion",
"pumpkin",
"rails",
"rawBeef",
"rawChicken",
"rawFish",
"rawPorkchop",
"redstoneDust",
"redstoneOre",
"redstoneRepeater",
"redstoneTorch",
"redstoneWire",
"rottenBeef",
"saddle",
"shears",
"sign",
"slimeball",
"snowball",
"splashPotion",
"steak",
"stick",
"stickyPiston",
"stone",
"stoneAxe",
"stoneButton",
"stoneHoe",
"stonePickaxe",
"stonePressurePlate",
"stoneShovel",
"stoneSword",
"string",
"waterBottle",
"waterBucket",
"map"
]
FAQs
The easiest way to create Minecraft achievements.
The npm package @mineapi/achievements receives a total of 1 weekly downloads. As such, @mineapi/achievements popularity was classified as not popular.
We found that @mineapi/achievements demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.