mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-12-17 22:47:36 +01:00
Page:
API Usages (NetherPortals)
Pages
API Usages (Inventories)
API Usages (NetherPortals)
API Usages (Portals)
API Usages
Anchor Tutorial
Basics (Inventories)
Basics (NetherPortals)
Basics (Portals)
Basics
Big List O' Permissions
Big List O Permissions
Building
Command Reference (Inventories)
Command Reference (NetherPortals)
Command Reference (Portals)
Command Reference
Config.yml (Inventories)
Currency
Custom Generator Plugins
Destinations
Developer API Starter
FAQ (Inventories)
FAQ (NetherPortals)
FAQ
Help
Home (Inventories)
Home (NetherPortals)
Home (Portals)
Home (SignPortals)
Home
How can I help
How to get help
How to upgrade
Install (Inventories)
Install (NetherPortals)
Install (Portals)
Install (SignPortals)
Install
Known Conflicts
Permissions (Inventories)
Permissions (Portals)
Permissions (SignPortals)
Permissions List (Portals)
Permissions
Placeholders
Portal Style (SignPortals)
RedstoneTeleporting (SignPortals)
Shares List (Inventories)
Sharing Details (Inventories)
Sign Style (SignPortals)
Simple chinese config.yml
Submitting a Bug
World properties
config.yml (NetherPortals)
config.yml (Portals)
config.yml
0
API Usages (NetherPortals)
Ben Woo edited this page 2021-03-15 14:34:09 +08:00
Table of Contents
This pages provides examples and explanation for the common API usages of Multiverse-Core introduced here. It's impossible to cover all API methods in this guide, but rest assured we have javadocs provided.
Link a set of SMP worlds
public void linkSMPWorlds(String overworld, String netherworld, String endworld) {
// Linking nether portals both ways
netherportals.addWorldLink(overworld, netherworld, PortalType.NETHER);
netherportals.addWorldLink(netherworld, overworld, PortalType.NETHER);
// Linking end portals both ways
netherportals.addWorldLink(overworld, endworld, PortalType.ENDER);
netherportals.addWorldLink(endworld, overworld, PortalType.ENDER);
}
Multiverse-Core
Getting Started
Configuration
- Config.yml
- World Properties
- Destinations
- Currency
- Custom Generator Plugins
- Anchor Tutorial
- Placeholders
Help
Developers
Other
Multiverse-Portals
Getting Started
Configuration
Developers
Multiverse-NetherPortals
Getting Started
Configuration
Help
Developers
Multiverse-Inventories
Getting Started
Configuration
Help
Developers
Multiverse-SignPortals
Getting Started
Configuration
A great place to get help is from Multiverse's Discord (Click the logo for invite link):