DerePhone.SK
DerePhone connecting with Telegram, using TeleLink and Skelegram
All of the features of DerePhone
FEATURES
This Skript adds to your ROLEPLAY server a brand new fully functional phone, just like those on professional servers such as WarAccademy or TecnoCraft.
Customize any functionality, from the GPS objects (not included) to the phone object.
Players can have their own personalized number and add other players to their contact list.
They can send messages and open an interactive chat saved with message history, even when offline.
Messages will be shown to the player also on
Telegram!
. If they have a linked Telegram account (using TeleLink), they'll be able to interact with the minecraft world (and receive and send messages) simply with DerePhone!
Notifications can be disabled or enabled, calls can be made, and contact names can be changed with just a few clicks.
You can add the phone number to the scoreboard using the placeholder %phone_number%.
WARNING!
Make changes to the script ONLY through the Options below. If you modify the code and the script stops working, I can't do anything about it. If instead you find bugs in the script at the functional level, please REPORT THEM by writing to me privately on Telegram: https://t.me/skriptitaly MAKE SURE YOU ARE USING ALL THE REQUIRED PLUGINS BEFORE REPORTING A BUG.
REQUIREMENTS
PLACEHOLDERAPI
If you want to show the phone number in the scoreboard (the sidebar on the right side of the players' screen) you can use the PlaceholderAPI plugin + Skript-Placeholder (check the dependencies above for their respective download links).
Then, in the config of your scoreboard plugin, add the placeholder
%phone_number%
and you will automatically have the number in the sidebar!
PERMISSIONS
- phone.use - All players should have it, it's used to access the base command /phone.
- phone.create: create phone number
- phone.delete: remove phone number
- phone.setminutes: set player's minutes
- phone.setmessages: set player's messages
- phone.give: give phone
- phone.admin: to add locations to the GPS through the GUI or to reset the script.
- All these permissions should be given to the operator group.
DerePhone Commands
- /phone setminutes <player> - phone.setminutes - Set the amount of minutes a player has on their phone.
- /phone setmessages <player> - phone.setmessages - Set the amount of messages a player has on their phone.
- /phone add <number> - phone.use - Add a phone number to the address book.
- /phone edit <number> <name> - phone.use - Change the name of a number in the address book.
- /phone call <number> - phone.use - Call a player.
- /phone send <number> <message> - phone.use - Send a message to a player.
- /phone quit - phone.use - Hang up the current call.
- /phone debug - phone.admin - Reset the script. Deletes all phone numbers, address books, messages, and player settings.
- /phone addgps <location_name> <GUI block ID> - phone.admin - Add a location to the GPS. You cannot use spaces in the location name. Instead, use spaces in the GUI item.