> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CloudScript

> 클라이언트, PlayStream 이벤트 규칙 또는 예약된 작업에 의해 트리거되는 서버 측 JavaScript 로직을 실행하기 위한 레거시 PlayFab CloudScript 개요입니다.

CloudScript는 PlayFab에서 가장 다재다능한 기능 중 하나입니다. 클라이언트 코드가 구현할 수 있는 모든 사용자 지정 서버 측 기능의 실행을 요청할 수 있게 해주며, 사실상 *어떤 것과도* 함께 사용할 수 있습니다.

CloudScript를 사용하면 서버나 인프라에 대해 걱정할 필요 없이 수요에 맞춰 확장되는 서버 측 로직과 기능을 구축할 수 있습니다. 클라이언트의 조작 시도를 방지하기 위해 서비스를 통해서만 액세스할 수 있는 CloudScript 함수를 만들 수 있습니다.

예를 들어, 클라이언트가 게임에서 "일일 보상"을 요청하고, 서버 측 유효성 검사를 신뢰하여 보상이 두 번 지급되지 않도록 할 수 있습니다.

## 함께 보기

[Azure Functions를 사용하는 CloudScript](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af)의 강력한 기능을 활용하려면 [Azure Functions를 사용하는 CloudScript 빠른 시작 가이드](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/quickstart)를 확인하세요.


## Related topics

- [PlayFab의 PlayStream 이벤트 모델 참조](/ko/services/playfab/api-references/events/index.md)
- [CloudScript 빠른 시작](/ko/services/playfab/live-service-management/service-gateway/automation/cloudscript/quickstart.md)
- [cloudscript_executed](/ko/services/playfab/api-references/events/CloudScript/cloudscript-executed.md)
- [CloudScript에서 오류 처리](/ko/services/playfab/live-service-management/service-gateway/automation/cloudscript/handling-errors-in-cloudscript.md)
- [CloudScript에서 Webhook 호출](/ko/services/playfab/live-service-management/service-gateway/automation/cloudscript/making-webhook-calls-from-cloudscript.md)
