じ☆ve冰风 发表于 2026-7-28 20:53:02

Confirm Reload


Confirm Reload v1.00



LadyBaskerville





Introduction


        Have you ever accidentally hit F5 while playing your RPG Maker game and lost half an hour of progress when the game reloaded and sent you back to the title screen? Probably not, unless you're like me and tend to press buttons you shouldn't press
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7But just to make sure this doesn't happen to you or your players, here's a tiny plugin to ask for player confirmation before the game is reloaded.


Features


        - When the player presses F5, display a message that asks whether the game should be reloaded. Only reload the game if the player hits "Ok".


How to use


        This plugin is plug and play for the most part. If you want to change the message that is displayed to the player, you can do so in the "Message" parameter.


Plugin


        Download it here: LB_ConfirmReload.js


Credit


        - LadyBaskerville (optional)


Terms of Use


        - You may use this plugin in both non-commercial and commercial projects.
        - You may edit this plugin for your own needs.
        - You may redistribute this plugin elsewhere. In that case, please link back to this plugin thread if possible.


本贴来自国际rpgmaker官方论坛作者:LadyBaskerville处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/confirm-reload.72679/
页: [1]
查看完整版本: Confirm Reload