Skip to content

Fortnite gameplay scripts for SpigotMC servers with ScriptCraft

Notifications You must be signed in to change notification settings

smxsm/minecraft-scriptcraft-fortnite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortnite gameplay scripts for SpigotMC servers

About

This is a "ScriptCraft" plugin for SpigotMC servers with ScriptCraft installed. It adds some Fortnite features to minecraft, e.g.

  • instant building of floors,
  • walls,
  • stairs
  • and even so called "portaforts"
  • It also adds a minigun (for IRON_INGOT type inventory)

As soon as all other players are eliminated, you've won!

Tilted Map

It uses Multiverse, QuickBoard, InstantReset plugins - and of course ScriptCraft! So make sure you have those installed, too.

This plugin also assumes you have at least the worlds "Wartelobby", "flat_world" and "Tilted".

Make sure to copy the original worlds as templates for InstantReset so that the original worlds can be restored after a game is finished/reset.

You can checkout this game on our own server, https://www.megacraftlp.de

Stairs and Portafort

Howto

Install SpigotMc and the plugins listed above. We use Docker to run SpigotMc on our server, e.g. via Docker Compose:

version: '2'
services:

  spigot:
    image: itzg/minecraft-server
    container_name: mc_spigot
    stdin_open: true
    restart: always
    environment:
        TYPE: "SPIGOT"
        VERSION: "1.8.8"
        MAX_PLAYERS: 50
        SPAWN_ANIMALS: "false"
        SPAWN_MONSTERS: "false"
        BUILD_FROM_SOURCE: "true"
        ANNOUNCE_PLAYER_ACHIEVEMENTS: "true"
        ENABLE_COMMAND_BLOCK: "true"
        OPS: AEinstein,FoobarMan
        MODE: "survival"
        FORCE_GAMEMODE: "true"
        PVP: "true"
        EULA: "true"
        MOTD: "Fortnite Minecraft Server - Welcome"
        MEMORY: 1800M
        CONSOLE: "false"
    volumes:
        - /minecraft/data:/data
    ports:
        - 25565:25565

Copy the scripts of this repository to "YOUR_SERVER_MINECRAFT_FOLDER/scriptcraft/plugins/fortnite/". Create at least the three maps mentioned above.

Adjust the settings at the top of "gameplay.js".

Signs are used to load the Fortnite maps.

Create a new sign, look at it and call

/js warpSign()

to convert it to a Fortnite sign (see "warpsign.js"). With every right click, the sign will then bring you to the Fortnite lobby.

The map launching signs inside the "Wartelobby" map can be created with

/js mapSign1()
/js mapSign2()

see "signs.js".

Playing

As soon as there are enough players in the "Wartelobby" map (see variable "minPlayers" in "gameplay.js"), a game on a random map starts. You can also start a fortnite map manually by right-clicking on one of the map signs. For OPs, there are some ScriptCraft commands to (re)start/stop fortnite games:

/js fnstart()
/js fnrestart()
/js fnstop()

TODO

  • The stairs etc. placement seems to be a bit off sometimes, depending on the current player direction - try to improve "correctAlignment()" in "events.js"
  • localize the gameplay messages (only German for now)

About

Fortnite gameplay scripts for SpigotMC servers with ScriptCraft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published